用于测试 API 的 cURL 的 GUI 前端

我正在(手动)测试一个充分利用 GET/POST/PUT/DELETE 方法的 RESTful API。与其在命令行上使用 cURL 来快速测试不同的输入选项,不如使用一个 Windows GUI 应用程序来简化这项工作。有这种东西吗?

98671 次浏览

I like RESTclient. It doesn't format HTML, though (I assume Poster does), so if you get a 500 error you get to dredge through the return text yourself.

Also XHR POSTER with Chrome
I would say has a better UI then Poster.

Update
XHR has been giving me problems. DHC by Restlet for Chrome is pretty nice also.

Fiddler is a very good tool. You can see history of requests, supports all HTTP verbs, completes the request with necessary headers (like Content-Length). The feature you are looking for is called "Request Builder".

I know this post is a bit old, but Dev HTTP Client for Chrome is by far the best plugin I've found.

Along with providing a nice UI that pretty formats responses (like JSON and XML), it allows you to save any requests. IMHO, the best feature is the ability to set different "contexts" and set variables. For instance, you can have a "production" and "dev" context, each with a "host" variable. Then your request string could be http://${host}/foo.

In the interest of trying to keep this list up to date, here is an even better, newer Chrome extension: Advanced REST Client

Insomnia is a beautiful desktop application for Windows, Mac and Linux for debugging restful APIs (my personal favourite)

Postman is a Chrome extension for API testing and doing custom http requests. You can save requests for later use, setup different environments (staging, deployment) and collaborate and share requests with others on your team.

HttpRequester for Firefox is similar to Postman.

Try gURL: http://code.google.com/p/gurl/ This is a simple HTTP-request generator, based on curl

I think Hurl is a great candidate for that?

Out of all the Firefox extensions I tried, HttpRequester is the best tool for me. It is very clear and doesn't lack a feature.

For Chrome, I would recommend Advanced REST client or Postman.

Paw for OS X is pretty nice. $29.99 as of this writing.

Found a useful (free) web tool for this that now exists!

https://curlbuilder.com/