Hi guys,
I've never had to deal with web services before but I have to connect to one that takes three parameters as credentials and passes JSON data. It never downloads (it only receives a cookie) but the app has to upload to it and I'm not sure where to look in the documentation for setting such a thing up.
I understand that NSURLCredential can pass credentialWithUser, password, and persistence, but I have to pass one more parameter to connect to my web service and I couldn't find anything that seems to support custom parameters.*
Can anyone give me any guidance on where to look?
Basically I'm connecting to a secure web service and need to pass a user name, password, and job type as a login credential, but can only find a method passing a username and password.
I cannot use any third party libraries or utilities either.
*I have a working app that connects securely to the Big Nerd Ranch web service, I just need to customize it to my apps needs.
I've never had to deal with web services before but I have to connect to one that takes three parameters as credentials and passes JSON data. It never downloads (it only receives a cookie) but the app has to upload to it and I'm not sure where to look in the documentation for setting such a thing up.
I understand that NSURLCredential can pass credentialWithUser, password, and persistence, but I have to pass one more parameter to connect to my web service and I couldn't find anything that seems to support custom parameters.*
Can anyone give me any guidance on where to look?
Basically I'm connecting to a secure web service and need to pass a user name, password, and job type as a login credential, but can only find a method passing a username and password.
I cannot use any third party libraries or utilities either.
*I have a working app that connects securely to the Big Nerd Ranch web service, I just need to customize it to my apps needs.