REST Client follows redirects

Answered

The builtin REST Client seems to follow redirects automatically.
I would like to see a redirect response header, but a response of the redirected page is shown.
It would be nice if REST Client has an option that enables it to follow redirects or not.

6 comments
Comment actions Permalink

Surprised so little discussion about this issue. Keeps me from using the REST client in favor of other, more explicit clients.

1
Comment actions Permalink

I just created an account to be able comment here.
Please definitely add an option to not follow redirects. I am developing an OAuth2 server which responds with a redirect, and I cannot test it with the REST client tool cause I don't see the response.

0
Comment actions Permalink

@Gabor Keszthelyi please vote for this request in our tracker: https://youtrack.jetbrains.com/issue/WI-20560 Thanks.

0
Comment actions Permalink

you can now set a tag that instructs not to follow redirect

 

# @no-redirect
GET https://example.com
0
Comment actions Permalink

Awesome! Thanks a lot for supporting this!

0

Please sign in to leave a comment.