AnsweredAssumed Answered

Folder Creation - API Curl Command

Question asked by Chika Emeka-Nweze on Nov 19, 2018
Latest reply on Nov 20, 2018 by Chika Emeka-Nweze

I have an issue running some API curl command for folder creation. I keep getting the following error.


{"error":"invalid_input"}curl: (3) <url> malformedcurl: (6) Could not resolve host: createParentscurl: (3) [globbing] unmatched close brace/bracket in column 5. The sample command I am using is:



curl -kiX POST -H "Accept: application/json" -H "Authorization: Bearer token=" -H "Content-Type: application/json" -H "X-HCPAW-FSS-API-VERSION: 3.1.0" -d '{"path": "/Home/Sales-Reports", "createParents": true}'