当前位置:网站首页>Postman interface test II

Postman interface test II

2022-07-07 10:09:00 Splendid Qianyang 813

Catalog

Request Detailed explanation of multi parameter operation of

Automatically parse multiple parameters Params

Temporarily disable parameters

The batch editor GET Multiple parameters of

Interface description and automatic document generation

Describe support markdown grammar

Publish the interface and generate markdown Description file for


Request Detailed explanation of multi parameter operation of

Automatically parse multiple parameters Params

such as , For one GET Requested by url yes : http://openapi.youdao.com/api?q= Erasure code (EC) Learning from &from=zh_CHS&to=EN&appKey=152e0e77723a0026&salt=4&sign=6BE15F1868019AD71C442E6399DB1FE4

It's actually ?key=value The form contains multiple Http Of GET Of query string=query parameters

Postman It can automatically help us analyze the corresponding parameters , You can click on the Params:

See the expanded multiple parameters :

In this way, you can easily modify , Add or delete the corresponding parameters .

Temporarily disable parameters

And also supports , Without deleting a parameter , If you want to not pass parameters for the time being , It can be conveniently realized by unchecking :

The batch editor GET Multiple parameters of

Of course , If you want to edit parameters in batches , You can click Bulk Edit, To achieve batch editing .

Interface description and automatic document generation

API Description of , Also support Markdown, Official interface documentation :Intro to API documentation.

therefore , You can easily add a structured interface description , In particular, the parameters explain :

Describe support markdown grammar

And for the parameters to be interpreted , You can pass the previous Param -> Bulk Edit The content of :

Copy it over , Then continue to edit :

And add more explanatory information :

Click on Update after , You can save .

Publish the interface and generate markdown Description file for

After the release :

Corresponding effect : Proper translation

 

原网站

版权声明
本文为[Splendid Qianyang 813]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130623332919.html