I would like it if MultiPart Form Data were easier to work with in UiPath. It is very straightforward to do in Postman, but much harder to create in UiPath.
Could you please elaborate whether there anything specific that you would like to see in the activity?
Normally, you simply provide your list of attachments and the activity takes care of everything else. Sounds simple enough
Hi @loginerror
I also encountered the same issue with the OpenAI API for Files. Please see the API Reference.
How can I configure it in the HTTP Request activity? Even though I add the file as attachment the API still requests multipart/form-data.
āmessageā: ā415 {\n "error": {\n "message": "Invalid Content-Type header (application/json; ), expected multipart/form-data. (HINT: If youāre using curl, you can pass -H āContent-Type: multipart/form-dataā)",\n "type": "invalid_request_error",\n "param": null,\n "code": null\n }\n}\nā
Thanks.