I just finished video 7 from this playlist (in the comments it was mentioned that this video solves the missing forwards slash problem) and added the "Route" code. And although the POST request now works perfectly, the GET request now always returns the full list instead of just the id you specified. It's probably something minor but I have no idea what to change to fix this, can you tell me what to add/change to make it work with the Route code included?
Sir, I left this method in my code when I started the tutorial [Route("")] public IEnumerable Get() { return students; } and got this message in fiddler after a post request: Message=The requested resource does not support http method 'POST'. status code 405 to make the post action work I had to rimove the get request. Why on earth is that? Thanks
i want to fetch all data of customer which have id 4, but it show only first data of that customer, i'm using GET method in this api.. can anyone help me?
Thank U Sir, I hope you are doing well, GBU
Thank you. Great explanations
Thanks for information. This was very helpful.
i was getting such error:HTTP/1.1 405 Method Not Allowed. When i added [Route("~/api/students")] attribute before Post method, problem was solved.
A lot of regards 4 U Mr Kudvenkat
Thanks 👍
Thank You!
Thank you so much, Venkat Sir
Thanks from Bangladesh.
Thank you venkat.
Thanks from Jordan
Thank you Venkat..can we have videos on how to pass secured message using Web APIs...
I just finished video 7 from this playlist (in the comments it was mentioned that this video solves the missing forwards slash problem) and added the "Route" code. And although the POST request now works perfectly, the GET request now always returns the full list instead of just the id you specified. It's probably something minor but I have no idea what to change to fix this, can you tell me what to add/change to make it work with the Route code included?
Can you please add a video on how to apply hateoas to this?
Sir, I left this method in my code when I started the tutorial
[Route("")]
public IEnumerable Get()
{
return students;
}
and got this message in fiddler after a post request:
Message=The requested resource does not support http method 'POST'.
status code 405
to make the post action work I had to rimove the get request. Why on earth is that?
Thanks
It's due to the fact the Route is set as ("")
i want to fetch all data of customer which have id 4, but it show only first data of that customer, i'm using GET method in this api.. can anyone help me?
Give video on SSIS and SSRS
HTTP/1.1 502 Fiddler - Connection Failed
Thank you Venkat.