Year: 2018
Date: 5-2
postMan mock upload
1
select body
2
select form-data
3
fill in
key value
Note: value please select file
Date: 3-31
postMan:
introduce
A tool for debugging interfaces
download
Download address: https://www.getpostman.com/apps
Note: When downloading , please combine the actual situation of your own computer
Install
After downloading, find the file and click to run the exe
introduce
Options
The content of the options is easy to understand, and you can directly understand the meaning of each option
New: collection
New: environment
management: environment
Export:
import:
About parameters :
1 Submission method , the picture shows the commonly used submission method
Description: get gets the data
post new data
put modify data
delete delete data
2 : for the request address
3 : For request parameters , can contain
Entity properties:
Key= Attribute in the entity class , this attribute needs to specify the get/set method
Class property:
Key= Attribute in class attribute , this class attribute needs to specify set/get method
collection /list
Key= collection attribute name , the subscript starts from 0 , the dot symbol is the class attribute , the collection needs to specify the set/get method
4 Send the request
Another option:
5 Save
Another option:
The figure below indicates that the request is incorrect / project startup is abnormal
The picture below shows the request is successful
The following options can switch the display effect
Note: When the cursor is obtained in the result display area, you can use the shortcut key --> ctrl+f to search
Action: Create a new folder
Benefit: Easy to manage requests