remove unnecessary -X POST from example curl commands

This commit is contained in:
Jeffrey Morgan
2023-11-17 09:50:38 -05:00
parent 92656a74b7
commit 81092147c4
2 changed files with 12 additions and 13 deletions

View File

@@ -206,7 +206,7 @@ Ollama has a REST API for running and managing models.
For example, to generate text from a model:
```
curl -X POST http://localhost:11434/api/generate -d '{
curl http://localhost:11434/api/generate -d '{
"model": "llama2",
"prompt":"Why is the sky blue?"
}'