Hello everyone,
I want to send my PDF file to an API using PowerAutomate.
However, I can't get it to work.
Here is the documentation for it:
https://docs.ninox.com/en/api/private-cloud-apis#upload-a-single-file-with-post](https://docs.ninox.com/en/api/private-cloud-apis#upload-a-single-file-with-post
Here is the cURL command from the documentation.
curl https://anastasiya.ninoxdb.de/v1/teams/u14mwnoutm14yrcnf/databases/pnum1qq8tpao/tables/B/records/5/files
-X POST
-H "Authorization": "Bearer e66e5190-14ad-11ec-aa6f-3502731d486c"
-H "Content-Type": "multipart/form-data"
-F 'file=@"/Users/anastasiya/Downloads/iStock-184877012.jpeg"'
Here is my PowerAutomate error and my code.
What am I doing wrong?
[
{
"message": "Unexpected token : in JSON at position 78"
}
]

P.S. I can do it with Visual Studio Code, just not with PowerAutomate.
Translated with ChatGPT 😉