I am making an IOS app for iPhone wrapping the WHMCS but I'm having problems figuring out how to set up the Validate Login message from my objective-c code.
My base URL will be something like this: @"http://www.divendo.dk/includes/api.php" - or what?
The httpBody for the message something like this: @"action=validatelogin,email=myEmail,password=myPassword" - or what?
I get back a response from the request, but sure not what I expected. Seems like a get a whole HTML page code string back. At least I would like to get back an error-response in accordance with the spec.
I'm not familar with PHP at all, so I'm not able to try the supplied code samples supplied and I would rather be free of that if possible.
Can anybody guide me, please ?