Answer the question
In order to leave comments, you need to log in
How to make a redirect in a curl request?
For example, I'm on a certain page, and I need to send some data via a POST request to another page, so that it's as if I'm hitting submit on a normal form with the POST method. That is, there should be a redirect to the second page, on which $ _POST will contain the data that I sent from the first page. But all this without html forms.
Answer the question
In order to leave comments, you need to log in
what the fuck is a redirect?
create a new request and submit the data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question