port-docs icon indicating copy to clipboard operation
port-docs copied to clipboard

Using express.json to get the request body as JSON

Open Eyal-Be opened this issue 1 year ago • 1 comments

Description

@dhatcher42 was trying to follow the Debugging Webhooks locally guide, and was getting an error during the validation of the webhook request step. The validation error occurs due to the body of the request being undefined since we're not using any express middle-ware to read it.

Updated docs pages

Debugging Webhooks locally - /create-self-service-experiences/setup-backend/webhook/local-debugging-webhook/#creating-a-small-example-server-in-nodejs

Eyal-Be avatar Apr 12 '24 21:04 Eyal-Be

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1093.d2ngvl90zqbob8.amplifyapp.com