Skip to content
Dashboard

Use native curl syntax with Vercel CLI

Software Engineer

You can now use native curl syntax with the Vercel CLI. The vercel curl command accepts full URLs, bare hostnames, and the --url flag, and uses your Vercel auth to bypass Deployment Protection.

vercel curl https://example.vercel.app/api/hello
vercel curl example.vercel.app/api/users -X POST -H "Content-Type: application/json" -d '{"name":"Ada"}'
vercel curl --url https://example.vercel.app/api/status --compressed

URL-based invocations against any deployment

If you've linked a project, you can also pass just a path:

vercel curl /api/hello
vercel curl /api/users -X POST -d '{"ok":true}'

Path-based invocations against the linked project

Update to the latest Vercel CLI version and run vercel curl to get started. Learn more in the Vercel CLI documentation.

Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

  • Agent stack: Build and operate agents with models, tools, and durable workflows.
  • Web applications: Choose rendering, data, authentication, and caching approaches.
  • Backends: Choose a runtime, connect services, and run background work.

Browse all stacks

Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.