Answer the question
In order to leave comments, you need to log in
Is it possible to make a redirect from the api backend?
There is an api if the client (vue) makes a request to the back-api, and it has a redirect
to some source (HttpResponseRedirect(redirect_to=' https ://google.com ')). can this be done somehow?
Answer the question
In order to leave comments, you need to log in
You read the response headers, if the code is 300, then a redirect and you need to do something. Redirect with js, for example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question