Uploading file via graphql #3220
-
Hi Everyone, Thanks for this amazing tool. I'm currently trying to use hurl to upload files via graphql. I just can't seem to get it to work. Wondering if anyone can help me out. I have tried various versions for file upload syntax
But nothing seems to work. The server reports empty content error, wondering if anyone has insights on how to address this. POST {{GRAPHQL_EP}}
HTTP 200 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
When using multiparty form data as a text body, we don't support sending external files (see https://hurl.dev/docs/request.html#multipart-form-data). You can try to use a |
Beta Was this translation helpful? Give feedback.
Found the solution.
Just in case anyone is interested.