Can we send POST HTTP requests in Google Chrome when using Rest Services? I have tried few extensions but I need directly from Chrome browser
Asked
Active
Viewed 2.7k times
2 Answers
2
I think, using the URL bar will always result in a GET.
To send POST requests from a browser, set up an HTML <form>
with method="POST"
, use the action
attribute for the REST-URL and input tags for other parameters.

andreas
- 21
- 3
2
You can do the post and get in the same way as the browser does. You can use the header to put in information in key, value pair. Here is a tutorial on how you can do it - Send POST data using XMLHttpRequest
But it would be better if you use chrome extension POSTMAN which is very extensive and clean for testing REST services.

Community
- 1
- 1

Dev Utkarsh
- 1,377
- 2
- 18
- 43