I am making a request which automatically redirects to the redirect url on 302 response
But for this particular case, want to avoid the redirect and just get the response as 302.
How to avoid redirect of the url? Please help me stuck in this for a while
Use Head() or AsyncHead() on the roUrlTransfer object and you shouldn't get redirected.
@speechles But I want request type to be POST.