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

怎么获取get及post的参数啊 #6

Open
zhangweiwei0326 opened this issue Jun 6, 2020 · 2 comments
Open

怎么获取get及post的参数啊 #6

zhangweiwei0326 opened this issue Jun 6, 2020 · 2 comments

Comments

@zhangweiwei0326
Copy link

怎么获取get及post的参数啊

get 127.0.0.1:7999/api/send?id=123 怎么拿id呢

@bmeyang
Copy link

bmeyang commented Dec 23, 2020

我也想知道这个问题!参数怎么获取?

@GaoZiqiang
Copy link

通过http_req->body获取request body,然后使用mg_get_http_var()通过正则式获取其他参数

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

3 participants