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

POST in server side #1608

Closed
GuptaSuchitra911 opened this issue Aug 16, 2021 · 2 comments
Closed

POST in server side #1608

GuptaSuchitra911 opened this issue Aug 16, 2021 · 2 comments
Labels

Comments

@GuptaSuchitra911
Copy link

GuptaSuchitra911 commented Aug 16, 2021

How to handle post request in the server side using nghttp2?

@JackyYin
Copy link

JackyYin commented Aug 17, 2021

Hi,
I think currently you can get method in request object.

server.handle("/", [](const request &req, const response &res) {
  if (req.method() == "POST") {
    // handle POST here
  }
});

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label May 20, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants