Answer the question
In order to leave comments, you need to log in
How to process a response to a request?
Hello! I send a request to another site using the GET method. I get a response in the form of {"successful": true}.
How do I process this request response and take the user back to my site?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
$headers = get_headers('page to get response from');
In response, get an array that you need to take out and show, well, or whatever you need next.
file_get_contents for json response
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question