I've been trying to look for online articles / tutorials on how to go about coding a request from a wcf service. I have the following web service uploaded to my server:
[ServiceContract]
public interface IUserAccountService
{
[OperationContract]
[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, UriTemplate = "UserLogIn?id={email}&password={password}")]
AuthenticationToken UserLogIn(string email, string password);
}
I'm getting really confused with the articles or SO questions that are related to it that I've been finding:
eg:
-http://stackoverflow.com/questions/1557040/objective-c-best-way-to-access-rest-api-on-your-iphone
-http://stackoverflow.com/questions/8650296/nsjsonserialization-parsing-response-data
and finally stumbled upon this:
http://iam.fahrni.ws/2011/10/16/objective-c-rest-and-json/
So my question is, do I really need to use a restful frameworks to do a call to an api? If so which one is more recommended - ASIHttpRequest or RestKit or AFNetworking? Or can I just simple do it myself using the last link I mentioned? I really am not sure where to start.
Thanks for your time.