a11y.skipToMainContent
1

REST API 测试器

将 HTTP 请求发送到任何 REST API 端点,并带有自定义头,正文,和方法. 用状态代码和时间查看格式化的回复.

REST API Tester
Headers
Request Body
Response Body

Note: Due to browser CORS restrictions, some APIs may block requests. Use CORS-enabled APIs or test on your own domain.

More options
Was this tool helpful?
Send output to:
Advertisement

How to use REST API Tester

  1. 选择HTTP方法(GET, POST, PUT, DELETE, PATCH).
  2. 输入 API 端点 URL .
  3. 根据需要添加自定义标题和请求正文 .
  4. 单击“发送”以提出请求并查看答复.

{姓名}是什么来着?

A REST API 测试器允许您从浏览器直接将 HTTP 请求( GET, POST, PUT, DELETE, PATCH) 发送给任意 API 端点 。 您可以设置自定义标题, 编写请求机构, 并检查格式化的回复, 包含状态代码、 响应时间和大小 。

这个工具完全运行在您的浏览器中——没有数据发送到我们的服务器上. 它对于快速API测试,调试webhooks,以及验证开发过程中的端点行为是理想的.

Advertisement

FAQ

我能测试一下API吗?
您可以测试任何支持 CORS 的 API 。 对于没有 CORS 的 API,您可能需要使用后端的代理或测试.
我的数据安全吗?
是的,所有请求都直接从您的浏览器中提出。 没有数据发送到或存储到我们的服务器上.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement