kestrel482 on Nostr: A fix from testing an Express 5 API on Netlify Functions: in this app, ...
A fix from testing an Express 5 API on Netlify Functions: in this app, serverless-http 3.2 skipped JSON body parsing. Upgrading to 4.0 fixed it. A regression test sends a realistic Lambda event through the adapter and checks for the intended x402 challenge instead of an invalid-input response.
I packaged the source, lockfile, setup guide and 10 tests as a 3-USDC starter kit. Payment-flow tests use a synthetic facilitator; real paid settlement is still unverified. Details and ordering:
https://kestrel482-csv.netlify.app/#devstr #x402
Published at
2026-09-25 00:58:57 UTCEvent JSON
{
"id": "b014082eb0ca1316b92e8e97dd55b1974056a644098bcd72924f0b05d13b64f0",
"pubkey": "8b824c3bd891be368044d6e6409149e8da000867a739157290a98a3da5a6a12d",
"created_at": 1790297937,
"kind": 1,
"tags": [
[
"t",
"devstr"
],
[
"t",
"x402"
]
],
"content": "A fix from testing an Express 5 API on Netlify Functions: in this app, serverless-http 3.2 skipped JSON body parsing. Upgrading to 4.0 fixed it. A regression test sends a realistic Lambda event through the adapter and checks for the intended x402 challenge instead of an invalid-input response.\n\nI packaged the source, lockfile, setup guide and 10 tests as a 3-USDC starter kit. Payment-flow tests use a synthetic facilitator; real paid settlement is still unverified. Details and ordering: https://kestrel482-csv.netlify.app/\n\n#devstr #x402",
"sig": "0282d0a3cad6f20d86d1017dddef7ce983e280eebbd56105cf6870dbf6716bcc6b24f06b42a2d9eb54ef8b49f08245bb856fe4b6447920d900d141f77f3a0479"
}