Skip to content

Commit b9681b9

Browse files
committed
Updating test.http for external cloud endpoint calls
Signed-off-by: Paul Yuknewicz <[email protected]>
1 parent c19969f commit b9681b9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

test.http

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
### Simple Ask Completion (Local)
2+
POST http://localhost:7071/api/ask HTTP/1.1
3+
content-type: application/json
14

5+
{
6+
"prompt": "Tell me two most popular programming features of Azure Functions"
7+
}
28

3-
POST http://localhost:7071/api/ask HTTP/1.1
9+
### Simple Ask Completion (Cloud)
10+
### .gitignore this file if and when you set key
11+
POST https://<your-function-name>.azurewebsites.net/api/ask HTTP/1.1
412
content-type: application/json
13+
x-functions-key: <your-function-key>
514

615
{
7-
"prompt": "What is a good feature of Azure Functions?"
8-
}
16+
"prompt": "Tell me two most popular programming features of Azure Functions"
17+
}

0 commit comments

Comments
 (0)