These are the variables we are changing the value of in the collection pre-request script. Now for the variables that have dynamic content. The only time either of these variables would need to change would be if you changed the endpoint of your authorization server or your client id/secret changed. In our case here, the variables that would hold static content are: Collection VariablesĪs stated before, collection variables are static values that do not need to span across multiple collections. Now that we understand what the script is doing, let’s figure out which variables need to be collection variables, and which ones need to be environment variables.
0 Comments
Leave a Reply. |