ForumsSearch



Search results for "Posted by skoren"
Author Message
skoren

Posted Jul 10, 2015 in: Malformed Edit request
Score: 0
  • skoren
  • Posted: Jul 10, 2015
  • Score: 0
I'm trying to edit an existing task with:

http://api.toodledo.com/3/tasks/edit.php?access_token=<my token here with no quotes>&tasks=[{"id"%3A"227944385"%2C"completed"%3A"1436568057"%2C"reschedule"%3A"1"}]

And I'm getting:
{
errorCode = 611;
errorDesc = "Malformed request.";
}

I'm sending this as a POST with the following header options:
[request setValue:@"application/json" forHTTPHeaderField:@"Accept"];
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];

The Edit docs aren't very clear and the sample app has no edit example.

What am I missing?
Thanks.