https://blog.csdn.net/fxbin123/article/details/80428216
官方文档:https://learning.postman.com/docs/getting-started/introduction/
Sending your first request发送你的第一个请求
You can make requests to APIs in Postman. An API request allows you to retrieve data from a data source, or to send data. APIs run on web servers, and expose endpoints to support the operations client applications use to provide their functionality.
Each API request uses an HTTP method. The most common methods are GET
, POST
, PATCH
, PUT
, and DELETE
.
GET
methods retrieve data from an API.POST
sends new data to an API.PATCH
andPUT
methods update existing data.DELETE
removes existing data.
In Postman you can make API requests and examine the responses without using a terminal or writing any code. When you create a request and click Send, the API response appears inside the Postman user interface.
在Postman中,您可以发出API请求并检查响应,而无需使用终端或编写任何代码。创建请求并单击Send时,API响应将出现在Postman用户界面中。
Sending a request发送一个请求
To send your first API request, open Postman. Make sure Build is selected at the bottom right. Click the + plus button to open a new tab.
Enter postman-echo.com/get
in the URL field.
Click Send. You will see the JSON data response from the server in the lower pane.
Next steps
You can use the Postman Echo API to try out test requests.
Next learn more about sending requests in Postman.