Edit AllPages

How to do an http post command within cocoa:

NSString* content = [@”item=” stringByAppendingString:@”Something to Post”];

NSURL* url = [NSURL URLWithString:@””]; NSMutableURLRequest* urlRequest = [[NSMutableURLRequest alloc] initWithURL:url]; [urlRequest setHTTPMethod:@”POST”]; [urlRequest setHTTPBody:[content dataUsingEncoding:NSASCIIStringEncoding]];

After this point you can do several things, such as perform the post in a WebKit window, or read this for managing the response: