Skip to content
Dashboard

Use native curl syntax with Edgenivo CLI

Melkey MoksyakovSoftware Engineer

You can now use native curl syntax with the Edgenivo CLI. The vercel curl command accepts full URLs, bare hostnames, and the --url flag, and uses your Edgenivo 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 Edgenivo CLI version and run vercel curl to get started. Learn more in the Edgenivo CLI documentation.