I am creating an HTTP request. This is my request array where I set my method and my parameters:
...
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];
[request setURL:[NSURL URLWithString:urlString]];
[request setHTTPMethod:@"POST"];
//set headers
[request addValue:@"OAuth oauth_version=\"1.0\"" forHTTPHeaderField: @"Authorization"];
//create the body
NSMutableData *postBody = [NSMutableData data];
...
I know that the version is 1, the parameters are cursor and locale, and the method is POST see https://www.dropbox.com/developers/core/api#delta
The response I receive is 403 or 0, instead of a JSON string. Is this the right way to set parameters? What should I do?