Your Digital Media Has Never Looked So Good

Topic Author
Posts: 1
Joined: Thu Jul 04, 2019 1:32 pm

Stop POST request to follow redirect. 302

Fri Jul 05, 2019 7:34 am

I am trying to make a POST request to an API, that API is going to return a 302 with a redirect in the headers.location is there a way to catch that redirect in the app? and stop following it?
Right now the request follows the redirect

I need to extract the location in the redirect before the redirect is done, I tried asking for the 302 and also I asked for the .head().GetResponseHeaders().location but looks like what I got is the final result.

I really appreciate any help on this.


Who is online

Users browsing this forum: No registered users and 5 guests