Re: Why does this https post request always return 404 Not Found

2008-06-22 Thread Steve Christensen
Hmmm... Google not working? - http://del.icio.us/help/thirdpartytools lists the APIs for a variety of programming languages at the bottom of the page. - http://www.scifihifi.com/cocoalicious/ is an open source Cocoa del.icio.us client, so you should be able to see what they did. On Jun

Why does this https post request always return 404 Not Found

2008-06-21 Thread an0
- (void) login { NSString *userName = [[userNameField stringValue] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; NSString *password = [[passwordField stringValue] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; NSURL *url = [NSURL

Re: Why does this https post request always return 404 Not Found

2008-06-21 Thread Jens Alfke
This is pretty weird. After some experimenting, I narrowed it down to the value of the User-Agent header. I think the del.icio.us server is checking that header and returning a 404 if it doesn't like it. And it doesn't seem to like CFNetwork's default user-agent header, though it likes

Re: Why does this https post request always return 404 Not Found

2008-06-21 Thread an0
Cool, it works. Thanks a lot. But as to APIs, I really can't find the login API, or I would of course use that instead of posting forms. Can you tell me where the login API is? On Sun, Jun 22, 2008 at 6:32 AM, Jens Alfke [EMAIL PROTECTED] wrote: This is pretty weird. After some experimenting, I