postman (a): Detailed use environment variables in the postman


First, define the environment variable

  1. Add environment branch

  2. Adding Environment Variables

  3. Switching environment branch

  4. Use a script to set environment variables

  5. Set the set level variables


Second, the use of environment variables

Use of the form {{}} variable name reference environment variables.

NOTE: variables can be used in a URL, the request parameters, the request header, the request body anywhere.

Guess you like

Origin www.cnblogs.com/kancy/p/11647218.html