ae676aa86c
The shared cloud req() helper set content-type: application/json on every request, so body-less DELETE/revoke/rotate calls tripped Fastify's "Body cannot be empty" 400. Only send the header when there's a body, and (defensively) make the server parse an empty application/json body as undefined instead of erroring. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>