Skip to end of metadata
Go to start of metadata

Problem:


We tried to create a folder with the API and it doesn't work as described in the documentation of the API.

create_dir_request = requests.post(dir_url + '/' + parent_ID,
                                       cookies=cookies,
                                       headers=headers,
                                       data={'filename': dir_name}
                                       )




Solution:


The API request doesn't work because there is an error within the example. The correct call looks like this:

create_dir_request = requests.post(dir_url + '/',
                                       cookies=cookies,
                                       headers=headers,
                                       data={'filename': dir_name}
                                       )