Answer the question
In order to leave comments, you need to log in
Php curl redirect from another page?
In general, there is a site X
AND there is a request path X/api
You need to send a request to X/api
AND the user is on the X/ page (because it is redirected according to the parameters of those who came from X/api using js with X/).
How to solve this?
You can use JS (but api does not come with a link for a redirect, other parameters come with api for a post request when redirecting)
The access itself (there is no X site to change files!)
Answer the question
In order to leave comments, you need to log in
Need to send a request
And for the user to be on the page X/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question