Skip to content

Patch demo code in readme#40

Merged
liangyuanruo merged 1 commit intomasterfrom
readme
Jun 16, 2020
Merged

Patch demo code in readme#40
liangyuanruo merged 1 commit intomasterfrom
readme

Conversation

@liangyuanruo
Copy link
Contributor

Problem

The sample code did not include a JSON parser for the request body, resulting in req.body being undefined.

Solution

Added Express JSON body parser as middleware.

@liangyuanruo liangyuanruo requested a review from karrui June 12, 2020 03:29
Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@liangyuanruo liangyuanruo merged commit 5208966 into master Jun 16, 2020
@liangyuanruo liangyuanruo deleted the readme branch June 16, 2020 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants