Sending file via API Connector to OpenaAI

How can I send a file to https://platform.openai.com/docs/api-reference/files/create. ?

I’ve tried body type form-data but does not work. I believe it should be JSON format but then the question is how to upload a file to initialize the call?

Any help is truly appreciated, thanks!

1 Like