etsauer Posted October 27, 2009 Share Posted October 27, 2009 There are lots of tutorials on how to send POST requests, and handle those responses. But what I cannot find anywhere is how to receive and handle that request and send a reply from the server. Can anyone point me to some information on this? I am using this code to construct the request: http://www.jonasjohn.de/snippets/php/post-request.htm Quote Link to comment https://forums.phpfreaks.com/topic/179242-solved-reponding-to-an-http-post-request/ Share on other sites More sharing options...
Daniel0 Posted October 27, 2009 Share Posted October 27, 2009 Just echo something. That will per definition be an HTTP response when it's served via a web server. Quote Link to comment https://forums.phpfreaks.com/topic/179242-solved-reponding-to-an-http-post-request/#findComment-945722 Share on other sites More sharing options...
etsauer Posted October 28, 2009 Author Share Posted October 28, 2009 Oh, right. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/179242-solved-reponding-to-an-http-post-request/#findComment-945962 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.