Cannot figure out PUT requests


GET and POST are working fine for me, but I am having trouble getting PUT requests to work.

When I send this request to modify a task, it returns a 200 with the task data in JSON, but nothing changes except for updatedDate. I tried different parameters but nothing is changing. It feels like I'm missing something obvious but it's been 2 hours and I'm stumped. Can anyone see what I am doing wrong?

Spot On Innovative Approach Stellar Advice

Hi Sangbin! Have you tried to URl-encode parameters? Wrike's API will not recognise them in JSON body I am afraid. 

URL for PUT could look like this:

Pavel M Community Team at Wrike Become a Wrike expert with Wrike Discover

Comment actions Permalink
Spot On Innovative Approach Stellar Advice

Hello Pavel,

Thank you for the reply. I actually tried the way before but because it had a space in the url, it was giving me 400 error so I thought it was not the correct way.

Replacing any spaces with %20 seems to work fine. (But + doesn't seem to work?)

Comment actions Permalink

Folllowing List for Post: Cannot figure out PUT requests
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post