Do the test on 'Modify Folder' by using Postman

Hi ,

  I did the test on modify folder by using this https://developers.wrike.com/documentation/api/methods/modify-folder as reference but I can't get result as it should be. Is there any trick ? 

Here is my request: 

Header : Authorization: bearer <access_token>

Body:  title=new title

URL : https://www.wrike.com/api/v3/folders/IEAAKWO7I4FUL7DG

Method: PUT

The result : there is no change on title field.

 

Thank you.

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
2 comentarios
Avatar
Pavel M

Hi Yah! Do you get the correct response from Wrike's API and code 200? Don't see anything, which could prevent you from renaming folder, except the way you pass the parameters. Do you use raw body input or URL-encoded parameters? To make sure API recognises your 'title' parameter you would need to have it URL-encoded.

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi Pavel,

    Thank you very much. I forgot to use this  'Content-Type : application/x-www-form-urlencoded' . Now it works.

Thank you.

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Do the test on 'Modify Folder' by using Postman
[this list is visible for admins and agents only]

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