-3
I am developing an api in . net core and noticed that in the url if I want to pass for example https://localhost:44365/api/values/test=?/ or https://localhost:44365/api/values/test=//
An error occurs
[HttpGet("test={test}")]
public ActionResult<string> Get(string test)
{
return test;
}
[Update to the reply posted by @LINQ]
https://stackoverflow.com/questions/20034227/how-to-match-web-api-2-route-with-forward-slashes-in-request-parameters I tried something like this but also not
– Amadeu Antunes
https://imgur.com/6amNLXC
– Amadeu Antunes