From 3b4ae6219bcbdfbdfb47f9419291297395235efb Mon Sep 17 00:00:00 2001 From: Marcus Schiesser <mail@marcusschiesser.de> Date: Thu, 23 Nov 2023 15:56:36 +0700 Subject: [PATCH] fix: curl test for express (streaming) --- templates/types/streaming/express/README-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/types/streaming/express/README-template.md b/templates/types/streaming/express/README-template.md index 7ea94ab7..0e9d7961 100644 --- a/templates/types/streaming/express/README-template.md +++ b/templates/types/streaming/express/README-template.md @@ -18,7 +18,7 @@ Then call the express API endpoint `/api/chat` to see the result: ``` curl --location 'localhost:8000/api/chat' \ ---header 'Content-Type: application/json' \ +--header 'Content-Type: text/plain' \ --data '{ "messages": [{ "role": "user", "content": "Hello" }] }' ``` -- GitLab