sincecutoff.com
← all changes

vercel build and dev support requestMethod for flat path schedules

Introduced 2026-10-05 · score 0.93

HOW TO USE IT

For a flat path schedule that needs a specific HTTP method, set `requestMethod` to `GET` or `POST`; it defaults to `POST`. `vercel build` writes the method to Build Output, and `vercel dev` invokes the schedule with it.

{"schedules":[{"path":"<path>","schedule":"<cron-expression>","requestMethod":"GET"}]}

WHY THIS HELPS

When configuring flat path schedules that need GET requests during local development or build output generation, set the schedule request method.

REQUIREMENTS AND LIMITATIONS

  • Version: 62.4.0
  • requestMethod: HTTP method for a flat path schedule: `GET` or `POST`; defaults to `POST`.
  • path (required): Path target for a flat schedule. The flat schedule format aligns with `crons` and uses `schedule` plus one target.
  • Prerequisite: Use Vercel CLI 62.4.0 or later for this feature.
  • `requestMethod` accepts `GET` or `POST`.
  • The default request method is `POST`.
  • The behavior applies to flat path schedules.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card