Post by varshad1 » Mon Apr 26, 2021 4:53 pm

I've seen a couple questions around here like How to debug RESTful services, which mentions:

Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST.

I've also heard that browsers support only GET and POST, from some other sources like:

http://www.packetizer.com/ws/rest.html
http://www.mail-archive.com/jmeter-user ... 13518.html
http://www.xml.com/cs/user/view/cs_msg/1098
However, a few quick tests in Firefox show that sending PUT and DELETE requests works as expected -- the XMLHttpRequest completes successfully, and the request shows up in the server logs with the right method. Is there some aspect to this I'm missing, such as cross-browser compatibility or non-obvious limitations?

Newbie

Posts

Joined
Mon Apr 26, 2021 4:48 pm

Post by straightlight » Tue Apr 27, 2021 7:32 pm

varshad1 wrote:
Mon Apr 26, 2021 4:53 pm
I've seen a couple questions around here like How to debug RESTful services, which mentions:

Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST.

I've also heard that browsers support only GET and POST, from some other sources like:

http://www.packetizer.com/ws/rest.html
http://www.mail-archive.com/jmeter-user ... 13518.html
http://www.xml.com/cs/user/view/cs_msg/1098
However, a few quick tests in Firefox show that sending PUT and DELETE requests works as expected -- the XMLHttpRequest completes successfully, and the request shows up in the server logs with the right method. Is there some aspect to this I'm missing, such as cross-browser compatibility or non-obvious limitations?
Try Restful API Services with cURL. There are also extensions on the Marketplace (PayPal Express Checkout fixes, for instance) that use the browser detection upon request. Also take note that services must also provide the PUT, DELETE etc. inclusively in their API documentations.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 114 guests