Interface 2- transmission request

1. The interface document content: 
1.1 URL: requesting an address of the interface
parameter name, parameter data types: request parameter 2.2
2.3 request mode: a get request, or a request to post

2. The transmission request
2.1 get request: directly from the browser, without the help of other tools.
Format:? Url key1 value key2 value2 (value of the parameters and parameter) = =
Example: http: //api.nnzhp.cn/api/user/stu_info stu_name = black & addr = Beijing?

2.2 POST request: need to borrow tools (such as Postman)
Postman use: to be finishing

Guess you like

Origin www.cnblogs.com/qxhaxx/p/11788281.html