2

I am trying to update a task in Asana using the Asana API. I can create the task successfully but when I update it I get the message "No matching route for request".

I am doing an PUT to the URL https://app.asana.com/api/1.0/tasks/2768594478959 with the body containing:

{"data":{"id":2768594478959,"name":"Test 5","notes":"Test 5 Notes"}}

My content type is set to application/json.

If I copy the https://app.asana.com/api/1.0/tasks/2768594478959 URL to the browser it does return the task.

Does anyone have any idea why I may be getting this error?

Thanks,

Wayne

4

1 回答 1

0

我在 NetSuite 中使用其专有的 HTTP 请求功能执行此调用,结果发现它正在执行 POST,即使我告诉它执行 PUT。

我使用http://httpbin.org来解决这个问题。

问候,韦恩

于 2012-12-20T02:19:54.020 回答