Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to simulate HTTP POST on localhost (*Windows* not Unix)? [duplicate]

Tags:

What is the simplest way of sending an HTTP POST to a localhost address/port under Windows?

E.g. do any browser plugins exist to do this or could a command be sent in the Chrome Developer Tools / Firebug console?

[Have seen similar q's asked before but the answers mostly seem to recommend the use of Unix tools such as CURL or Websites such as http://www.hurl.it, which preclude sending the request to localhost.]

like image 256
Steve Chambers Avatar asked Jan 10 '14 13:01

Steve Chambers


People also ask

How do I run a chrome POST request?

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 make a POST request?

The HTTP POST request method is used to send data to the server or create or update a resource. The POST request is usually used when submitting an HTML form or when uploading data to a server. The HTTP POST request may or may not contain data. The data is sent to the server in the body of the POST request message.


2 Answers

I use Advanced REST Client usually. I assume it works offline too(never tried it though as my Internet is always on).

Advanced REST Client for Chrome

I think the plugin is available for firefox too. Just google Advanced REST Client

EDIT:

Some other cool alternatives:

Paw (My current favourite)

Postman

like image 131
hammergun Avatar answered Sep 18 '22 08:09

hammergun


if you use Chrome you can go with the DHC by Restlet or with Rest Console.

I think you can find extension like those for firefox too.

like image 30
rollsappletree Avatar answered Sep 18 '22 08:09

rollsappletree