Replies: 1 comment
-
Hi everyone,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I need to create a collection pre-script to retrieve the acccess_token automatically every time I execute a request within the collection.
My data is:
I need to send the following parameters:
So, the URL that I need to send is:
The comment of the link below has almost what I need, but I was not able to modify it the way I need:
#765 (comment)
Does anyone know what I need to change? Below is the coding used in the link above from @n00o.
Method 2
The more difficult way but more convenient once set up would be to use the collection pre-script to do both authorization steps together. It can be found by going to the gear icon next to the environment selection dropdown. Here is the basic format for the script:
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions