Discussions

Ask a Question
Back to All

Request to the Application Documents API fails

Hi there,

tried to make a Request to the API with PHP with your provided example code. For this I uploaded a file on the API documentation page and took the example code. In the example code I added the x-company-id and the Authorization header. But I've got the error message Incalid multipart request body and/or headers supplied.

Tried an other approach for myself and it works finde. But I like the approach with the base64 encoded document in the example. But I didn't get it to work even when I try different approaches.

Ist something wrong with the example code in this case? Or am I doing something wrong?

Thanks in advance.