Nbt Posted October 26, 2021 Posted October 26, 2021 Hi All, I am trying to uppload a file using the API and always getting a 404 error. I am trying to do an HTTP POST to https://mdh-p01-api.hornbill.com/<instanceid>/dav/session/filename.csv using the file content on the request body and the API Key on the http headers but I always get a 404 error. Do you know what could be causing this? Thanks Nbt
Steve G Posted October 26, 2021 Posted October 26, 2021 Hi @Nbt, You need to HTTP PUT the file into that location, not POST. Regards, Steve
SamS Posted October 26, 2021 Posted October 26, 2021 Hi @Nbt, The following article might be of some use: https://wiki.hornbill.com/index.php?title=XMLMC_API_File_Upload_Sample
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now