The server will be running php and the device could be iphone or android with its own app to parse the xml sent.
I will send xml as responses to different requests from the app: login, sign in, etc but I have no clue where to start. I`ve googled and googled and answers were about CUrl. Can someone point me in the right direction here? Thanks in advance!
The server will be running php and the device could be iphone or android
Share
I think this is what you are looking for. You have to put it into XML content yourself, but this is how you can post from PHP.
http://www.php.net/manual/en/function.stream-context-create.php#74795
Or you can use curl, but I haven’t used it that much yet.
http://www.php.net/manual/en/book.curl.php