Syntax
vercel curl [path] [curl-options]Examples
Common usage examples
vercel curl /api/hellovercel curl /api/users -X POST -H "Content-Type: application/json" -d '{"name":"John"}'vercel curl /api/data -v --deployment https://my-app-abc123.vercel.appUse Cases
When to use this command
- •Test protected endpoints
- •API debugging with bypass tokens
- •Automated testing of protected routes