Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manually send HTTP POST requests from Firefox or Chrome browser

I want to test some URLs in a web application I'm working on. For that I would like to manually create HTTP POST requests (meaning I can add whatever parameters I like).

Is there any functionality in Chrome and/or Firefox that I'm missing?

like image 323
Pascal Klein Avatar asked Jan 25 '11 18:01

Pascal Klein


People also ask

How do I make a HTTP POST request in Chrome?

Type the url in the main input field and choose the method to use: GET/POST/PUT/DELETE/PATCH. Click on the arrow "Send" or press Ctrl+Enter. You'll see info about the response (time, size, type) and you'll be able to see the content response in the response section.

How do I send a request in Firefox?

Press Ctrl+Shift+Y to show the sidebar and make your own HTTP request. You can choose the method GET, HEAD, POST, OPTIONS, PUT DELETE and the body data to send. Response in the main window.

How do I send a HTTP request?

The most common HTTP request methods have a call shortcut (such as http. get and http. post), but you can make any type of HTTP request by setting the call field to http. request and specifying the type of request using the method field.


1 Answers

I have been making a Chrome app called Postman for this type of stuff. All the other extensions seemed a bit dated so made my own. It also has a bunch of other features which have been helpful for documenting our own API here.


Postman now also has native apps (i.e. standalone) for Windows, Mac and Linux! It is more preferable now to use native apps, read more here.


like image 158
Abhinav Avatar answered Oct 06 '22 08:10

Abhinav