tmo Posted April 27, 2013 Share Posted April 27, 2013 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 ? 0 Quote Link to comment 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.