Claude API curl Example: Copy-Paste Requests for Messages, Streaming, Images and Tools (2026)
A working Claude API curl example is one POST to /v1/messages with three headers and a JSON body. Copy-paste commands for streaming, images, tools, token counting, model listing and debugging, based on Anthropic's docs.