Post not allowed in files upload endpoint

Trying to use OpenAI API.
When testing it, getting this error:
1. message: “Not allowed to POST on /v1/files/upload. (HINT: Perhaps you meant to use a different HTTP method?)”
2. param: null
3. type: “invalid_request_error”

Why is so? Obviously the docs says the expected method is POST…
My request params:

That is because your endpoint you named above does not exist:

/v1/files/upload

The endpoint for file upload is:

POST
 
https://api.openai.com/v1/files

:slight_smile:

Upsss…so dumb. Thanks, that was it :wink: