I'm using ASIHttpRequest API to communicate with my WCF services. The WCF services are set up as webHttpBinding so I can communicate in basic JSON without SOAP.
This is the code I'm using to talk with the service and pass along user credentials (iPhone; but just figure it places the username and password in the header like Digest or Basic):
NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com/top_secret/"];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
I'm using a membership provider on the server side to authenticate my users. Is it possible to authenticate each request using the username and password sent in the above code?
Please help I've been searching for a solution for a while.
View Complete Post