From ae7780266a9c3b594b4a08aafb185631554e7e32 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/packages/create-llama/templates/types/streaming/express/README-template.md b/packages/create-llama/templates/types/streaming/express/README-template.md index 7ea94ab75..0e9d79610 100644 --- a/packages/create-llama/templates/types/streaming/express/README-template.md +++ b/packages/create-llama/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