load1n9 / openai

Unofficial Deno wrapper for the Open Ai api
MIT License
73 stars 23 forks source link

Method: createImageVariation: wrong request content-type #20

Closed luizmiranda7 closed 1 year ago

luizmiranda7 commented 1 year ago

When calling the method createImageVariation the following error is returned:

{
    "error": "invalid_request_error: 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')"
}
lino-levan commented 1 year ago

solved in #21