Discussions
POST /v1/recruiting/applications/documents responds with 400
about 1 year ago by Tschela Baumann
Hi, when I try to perfom a POST document request the endpoint answers with
`{
"error": {
"reason": "Invalid multipart request body and/or headers supplied."
}
}
This status code/message is not documented and happens also in the API Docs using the "TRY" Button.
The Request looks like this
`curl --location 'https://api.personio.de/v1/recruiting/applications/documents' \
--header 'X-Company-ID: ****' \
--header 'Content-Type: multipart/form-data' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ********' \
--data '@/C:/Users/*****/test-pdf.pdf'
Can you help?