HTTP requests Tools

1、Postman

A powerful GUI platform to make your API development faster & easier, from building API requests through testing, documentation and sharing.express-api-development

2、Fiddlerfiddler

3、CURL

curl -i -X GET http://rest-api.io/items
curl -i -X GET http:/ /rest-api.io/items/5069b47aa892630aae059584
curl -i -X DELETE http://rest-api.io/items/5069b47aa892630aae059584
curl -i -X POST -H ‘Content-Type: application/json’ -d ‘{“name”: “New item”, “year”: “2009”}’ http://rest-api.io/items
curl -i -X PUT -H ‘Content-Type: application/json’ -d ‘{“name”: “Updated item”, “year”: “2010”}’ http://rest-api.io/items/5069b47aa892630aae059584

4、For Chrome try one of extensions:
Advanced REST client
Postman – REST Client

5、For Firefox try one of add-ons:
REST Easy (has nice design)
RESTClient
Poster plugin (it runs on Firefox 33)
•Developer Tools (F12) ->[Network] ->[Edit and resend]

refer:http://stackoverflow.com/questions/4797534/how-do-i-manually-fire-http-post-requests-with-firefox-or-chrome

发表评论

电子邮件地址不会被公开。 必填项已用*标注