Now let's say that the installation and use of postman
1.postman installation (ps: this is a personal share Edition, 64-bit, 32-bit can search on Baidu download)
(1) Download: Link: https://pan.baidu.com/s/1xx8lES0DOL-Bv2ChaZnEBg extraction code: tl62
(2) the installation is complete click on Run
Note: This installation package can be installed directly use, pay attention to see if the online download version is installed, the previous version will install a browser-based extensions installed
2.postman use
(1) New Interface Test
Let's create a new Collection, named click Create, you can also add a description of the log folder, to fill in the description
Then we create (New) interface requests, the figure four paths can add yo
(2) is provided corresponding to different request different ways
1. Base interface request, if it is a separate interface, without obtaining interface information corresponding to the user request, and rights can be set is not required Authorization
2. Upload the file type of interface testing
There is an important point to note is that, if the direct upload files to identify content, easily prompt "Request Entity Too Large", in general this process there will be two ways, one is the lack of a file inside info to detect the content format, and the other kind is Nginx configuration and modify the php.ini have to change the size of the post of
(3) is performed by
After clicking send execution interface has returned a corresponding value of the new interface debug successful, the next you can simulate a variety of situations for verification and testing
Summary: The above is the basic use of said postman's, PC and mobile sides of the interface have some access, the end portion of the mobile set the environment before testing, shown in FIG.