Hello,
I’m using the REST API from Dropsource (online) to upload files.
I’m looking at the documentation but Dropsource constraints my options so that I don’t know where the problem comes from.
I get the error “File content is absent in request body” when trying to upload a file.
POST/files{directoryPath}{fileName}
From the dropdown menu in Dropsource:
Form Data -> Static Inputs -> UIImage -> images.png (it’s a test image uploade in the media, 10kB)
Path -> directoryPath -> Static Inputs -> String -> “/myfiles”
Path -> fileName -> Static Inputs -> String -> “images.png” (is the API expecting to rename the file? Isn’t this redundant with the Form Data? In the documentation we only see fileName once)
Query -> overwrite -> Static Inputs -> Bool -> True
These are all the parameters that I can pass from Dropsource to the API,
Thank you,
R