Dear Squidex Community ,
I am struggeling uploading a image via API to the assets of my Squidex instance.
I always get the same errors like already described here:
""Can only upload one file.""
For testing I am using n8n and Postman.
I am not really familiar with the multipart post which is used to upload it but I used s3 api many times to upload binary data which should be similar I guess.
What I need to know is what do I have to post in
- Query Parameters
to get the upload working.
I tried all kinds of setups but it never worked and the format how to display the binary data in the POST is not clear for me. I see some posts using urls and some binary file references but none of them worked for me:
My URL is the formatted like described here, but the Body, Header and Query parameters are not clear for me, like they are for other content types: https://cloud.squidex.io/api/docs#operation/Assets_PostAsset
All other API commands for GET and POST or PATCH are working without problems.
When I reference my binary property in n8n it will look like this, but I guess thats not correct:
Maybe someone has a Postman or n8n template to share for the asset upload? Or a code what to put in Body, Header and Query to get it working?
That would be really nice.