T
T
triggerfinger2018-01-29 15:20:34
Node.js
triggerfinger, 2018-01-29 15:20:34

How to find out where the redirect was made on the client?

There is a NodeJS server that, when following a certain route, http://server.com/verifymakes it res.redirect(`http://example.com`)
To http://example.coma simple client SPA. How to get full url http://server.com/verify? Or send with a redirect? I expected to see it in the headlines Refereror something, but there isn't. Probably due to the fact that the redirect occurs on the server and you need to include this header?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RidgeA, 2018-01-29
@triggerfinger

The Location header on a 301/302 response should be.
The question is how to get them out, because. the browser usually redirects to the new address...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question