Files
routstrd/test_curl.sh
2026-02-25 04:35:46 +00:00

12 lines
326 B
Bash
Executable File

#!/bin/bash
curl -X POST "http://localhost:8008/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemma-3n-e4b-it",
"messages": [
{"role":"system","content":"You are Routstr."},
{"role":"user","content":"Ping the node"}
]
}'