Unverified Commit 745ea007 authored by Arsalan's avatar Arsalan Committed by GitHub
Browse files

Fix Incorrect CURL Request Example in README (#287)

parent ad1dd746
...@@ -27,15 +27,9 @@ tritonserver --model-repository=/mnt/models ...@@ -27,15 +27,9 @@ tritonserver --model-repository=/mnt/models
Send request to the server: Send request to the server:
``` ```
curl -X POST http://localhost:8000/v2/models/character_generation/generate \ curl -X POST http://localhost:8000/v2/models/character_generation/generate \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"inputs": [ "INPUT_TEXT": ["harry"]
{ }'
"name": "INPUT_TEXT",
"datatype": "STRING",
"shape": [1],
"data": ["Name1"]
}
]
}'
``` ```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment