I am using ASIHTTP library to send the requests.I send the login in synchronously and then all other requests Asynchronously. My Login seems to work as does the GET method. BUT, my Post method does not work. it returns a Error Domain=ASIHTTPRequestErrorDomain Code=3 “Authentication needed”. I created the rails server using scaffolding and then added in Devise framework. I have absolutely no clue why the GET method works fine but my post method doesnt.
If i do this in a browser however, it works fine. Can someone please help me out? I can give you all the code you need.
1 Answer