I am trying to pass in URL as a Parameter in REST Service.
Request: https://LocalHost/api/InsertUrl/{Type},{URL},{Notes} https://LocalHost/api/InsertUrl/External,https://www.amazon.com,RANDOM NOTE
Sample Code:
[HttpPost]
[Route("api/InsertUrl/{Type},{URL},{Notes}")]
public bool SetUrl(string Type, string URL, string Notes)
{
bool Status = repository.SetupUrl(Type, URL, Notes);
return Status ;
}
Using POSTMAN (with POST) to test this end point I am getting :: 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
What am I doing wrong here?