Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock 无法获取POST请求的数据 #163

Closed
mo-n opened this issue Mar 7, 2017 · 1 comment
Closed

mock 无法获取POST请求的数据 #163

mo-n opened this issue Mar 7, 2017 · 1 comment

Comments

@mo-n
Copy link

mo-n commented Mar 7, 2017

'POST /api/login': (req, res) => {
    console.log(req.body);
},

req.body 的值是undefined

@sorrycc
Copy link
Owner

sorrycc commented Mar 8, 2017

请关注 #86 的进展。

@sorrycc sorrycc closed this as completed Mar 8, 2017
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

No branches or pull requests

2 participants