Curl Debugging
Curl Debugging
When you are unsure whether the issue is in the client or in the gateway configuration, start with the smallest possible curl request.
curl https://openfrog.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-openfrog-key" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{"role": "user", "content": "hello"}
]
}'Why this helps
- It removes SDK wrappers from the equation
- It makes headers, routes, and status codes easy to inspect
- It works well as a pre-launch health check
