Sending and receiving HTTP responses
Posted: Thu Aug 14, 2008 11:08 am
Hi all
First post yipee!
See if you can help me....
I am currently writing a PHP application that talks to an API for logging in, account management etc.
The API accepts a POST request and generates a plain text, name/value pair response like this:
status=ok
username=bob
last-login=01.01.2000
etc....
How can I send and read the response using PHP?
Can someone point me in the right direction for sending the request and parsing the responses?
Any help appreciated
Cheers
First post yipee!
See if you can help me....
I am currently writing a PHP application that talks to an API for logging in, account management etc.
The API accepts a POST request and generates a plain text, name/value pair response like this:
status=ok
username=bob
last-login=01.01.2000
etc....
How can I send and read the response using PHP?
Can someone point me in the right direction for sending the request and parsing the responses?
Any help appreciated
Cheers