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
2 comentarios
Spot On Innovative Approach Stellar Advice
Avatar

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.

Pavel M Community Team at Wrike Wrike Product Manager Infórmate sobre las funciones y prácticas recomendadas de Wrike

Pavel M Wrike Team member Infórmate sobre las funciones y prácticas recomendadas de Wrike

0
Acciones de comentarios Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Pavel,

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

Thank you.

0
Acciones de comentarios Permalink

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