Skip to content

change post to get #10

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

change post to get #10

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 1, 2017

获取数据不是应该用get吗?望指教,谢谢

获取数据不是应该用get吗?望指教,谢谢
@elva2596
Copy link
Owner

@wxsbd2010 你说的对。当时我没有细分。只是潦草的实现了功能。具体可以了解一下get post put patch delete这五种方法

@elva2596
Copy link
Owner

@wxsbd2010 另外如果使用get的话注意获取从前端传来的参数要从req.query中获取。

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