Vercel — AI · · 1 min read

Use native curl syntax with Vercel CLI

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

1 min read

May 15, 2026

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.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI