Hell Boy
Hell Boy

Reputation: 899

Tool to send request and receive response

I am trying to inspect some html, which is not displayed correctly in IE. when I look at the html in IE and FF, they are both different slightly and this might be causing the issue.

I want to grab html returned from the server and thus do not want to send request using a browser. can anyone advise me any such tool ??

Upvotes: 0

Views: 637

Answers (2)

Colin Su
Colin Su

Reputation: 4609

If you are using linux or unix system, you can use curl to do that.

to send GET request:

curl "<< request-url >>"

to send POST request:

curl --data "<< post-parameter >>" "<< request-url >>"

And you can use -X option to define what HTTP method you want to send with.

or maybe you're using Windows, you can use the web tool to send GET/POST requests like

http://hurl.it/

Upvotes: 1

Tom Abraham
Tom Abraham

Reputation: 400

curl would do the trick. curl http://www.google.com, for example.

Upvotes: 0

Related Questions