Hi @osyris ,
I keep getting a 404 error, how do I achive this web optional int
I guess you may use such url to send request: https://localhost:portNumber/aa///6
.
If you want to send optional data in route with specific location, you could provide the unwanted routing data with default value.
For example, send Description
and Pricemax
by using url : https://localhost:portNumber/ /aa/0/6
. The Title
value in the first slash is white space. The Pricemin
value is 0
which is the default int value.
If you do not want to manually enter such url, you could use url rewriting and match the forward slashes amount to add white space or 0
to the url:
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Rena