As shown above, I get error that no route found for PUT /children (MbbWeb.Router).
So, how can change request method to “GET”.
Can do?
If can’t, why?
My http knowledge is poor.
This is not normal browser behavior. I noticed you are sending a json response - is this an Ajax (javascript) request? If so you can’t use a server-side redirect to change the page the browser is on. You could send a response that tells your script to perform a redirect, and then change the path in javascript by setting window.location.href.
Thanks, this controller be able to receive “Form submit” or “Ajax”.
i think the reason is differection about “Form submit” and “Ajax”.
I need to learn more about it.