Why I'm getting 404 Resource Not Found to my newly Azure OpenAI deployment?
Jan 19
I've gone through this quickstart and I created my Azure OpenAI resource + created a model deployment which is in state succeedded. I also playaround it in https://oai.azure.com/ and it works there.
But, If I try to reach it from REST API is returns 404 Resource Not Found.
I defined the api-key header, and took the url and json from Code View -> json from inside the playground.
I'm executing
POST https://raz-openai.openai.azure.com/openai/deployments/raz-model-2/completions?api-version=2022-12-01 { "prompt": "", "max_tokens": 100 } with api-key header
Am I missing another step?
1 answer
Accepted answer · original discussion
Feb 2
Adding as an answer use a GET request instead of POST.
3 question comments
Use comments to ask for clarification. Post a solution as an answer.
Feb 2
Mar 21