Reputation: 9
I am using Fastapi , and this delete request is there , so for my hosted api or be it on localhost can i send directly delete request in browser like url --> http://api/delete/2 . It gives me a method not allowed response and similar for update and put api as well, Can i directly do through this way or not, ?
I was trying to send this delete API request through url , but the json response says method not allowed..
Upvotes: 0
Views: 485
Reputation: 21
By default in browser , api requests are taken as "GET" request . To execute any other type of requests use curl or postman .
Upvotes: 2