Upload a New File


#1

Hi

I have a question related to end point “/filemanager/api/v2/files”. I am not sure how the multi-part form encoding structure looks like for this post request. I saw there is only a python example, can you also kindly provide a Json example as well ? I have tried to use libcurl form add function to add the {“file_paths”:"/myfolder"} as a application/json file content, and add the file that i want to upload as a image/jpeg. The current result is the file is uploaded, but it is not in the correct folder. In the HTTP response, the “containing_folder_id” is NULL. Can I get some hint on this?

Thanks for any help.