I have submitted the request successfully following the documentation but I would like to understand that if request âpost User Loginâ has generated the token then how we are able to set the authorization at folder level where this request is stored i.e. New user workflow.
My understanding is one request token as output for input to second request.
Youâve followed the instructions to the letter, and you are correct to question the authorization setup and the flow of the requests.
The User Login request generates the token that is used in the authorization helper that you set at the folder level. (Which includes an api-key header with every request in that folder).
The authorization\api-key is needed for the Account Summary and User Logout requests.
The User Login request should probably have its authentication changed to âNo Authâ or the User Login request should be outside of the folder that youâve set the authorization helper on.
In this scenario, I would probably just set the request to âNo Authâ so it doesnât send the api-key, but I would like to keep the requests together in the same folder.
In this instance it would appear that sending the API key when its not needed isnât breaking anything. (and I wouldnât change anything, as it will probably cause it to fail the submit request).
Good spot and glad you are paying attention to the training