port-docs
port-docs copied to clipboard
Using express.json to get the request body as JSON
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
This pull request is automatically being deployed by Amplify Hosting (learn more).
Access this pull request here: https://pr-1093.d2ngvl90zqbob8.amplifyapp.com