Skip to content

Commit 98d5cfa

Browse files
authored
Update code-create-chat-completion.md
1 parent 60816bd commit 98d5cfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-foundry/model-inference/includes/code-create-chat-completion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ __Request__
7878

7979
```HTTP/1.1
8080
POST https://<resource>.services.ai.azure.com/models/chat/completions?api-version=2024-05-01-preview
81-
Authorization: Bearer <bearer-token>
81+
api-key: <api-key>
8282
Content-Type: application/json
8383
```
8484

@@ -98,4 +98,4 @@ Content-Type: application/json
9898
}
9999
```
100100

101-
---
101+
---

0 commit comments

Comments
 (0)