I'm currently working with a PHP developer to set up some server-side code, however, I'm not sure how to send
the server API information to be stored in a database. He has asked me to send
it in a url like this: exampleserver.com/register?deviceToken=[deviceToken]&otherstuff[otherStuff]
. I have no problem with creating the URL string, my issue is actually doing something with it. I know this is a pretty stupid question, but I'm pretty new to Objective-C let alone communicating with servers! I have pulled information from servers using NSURLRequest
and AFJSONRequestOperation
before. Is it the same idea or are we no longer doing Requests? I've seen the word Post
around a couple of times, but I'm unsure if this is what I'm after. Any help clearing this up would be really appreciated. Also, whatever the solution, I need it to be asynchronous!
Thanks for the help,
Regards,
Mike