Config without Authentication

2 views
Skip to first unread message

Kongy

unread,
Dec 21, 2009, 12:05:16 AM12/21/09
to ObjectiveResource
Hi

I'm trying to use ObjectiveResource without authentication but
whenever I call findAllRemote, I get an error:

Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** -[NSURL
initWithString:relativeToURL:]: nil string parameter'.

This comes from Connection get:withUser:andPassword:

My Config is simple enough:

//Set the address of the rails site. The trailing slash is required
[ObjectiveResourceConfig setSite:@"http://localhost:3000/"];
[ObjectiveResourceConfig setResponseType:XmlResponse];

Any help would be greatly appreciated.

James

Reply all
Reply to author
Forward
0 new messages