But that’s the catch, the Cookie Header in the actual Example Request is Empty.
So let me try to explain once again :
Step - 1 : Hit a Dummy request in Pre-request script(this will generate and USE a Cookie in the Request header)
Step - 2 : Use the Cookie from the Pre-request script Dummy Request header in the actual Hit of a Request
So according to your screenshot, Exmaple Req screenshot is not going to have any Cookie value, rather it has to be embedded with the actual Cookie which should be extracted from the Pre-request script.
Hi @w4dd325 James - thanks for your response.
But I can’t submit it directly because my intention is to skip a redirect call.
So for OAuth2/OIDC, when we hit a request, it goes for a redirection to the Auth Server and then comes back to hit the actual request, I want this kind of behavior for my actual request.
Steps that take place in my app/Google-Chrome :
Hit the URL on Chrome or App
Chrome/App gets a 302 redirect for the OIDC server proxy
Chrome/App gets the token from the OIDC server
Uses that token to hit the actual URL once again
Let me tell you the steps I want to achieve via POSTMAN :
Hit the dummy URL, acquire the Tokens from the Request header
Use this token to hit the actual Request directly
I am not sure how to achieve redirection in POSTMAN