mattgodbolt / seasocks

Simple, small, C++ embeddable webserver with WebSockets support
BSD 2-Clause "Simplified" License
735 stars 119 forks source link

Get query string parameters #84

Closed asmyasnikov closed 6 years ago

asmyasnikov commented 6 years ago

Hi! How to get query string parameters in GET/POST request handler?

0xcaff commented 6 years ago

I believe you can use CrackedUri and CrackedUriHandler

asmyasnikov commented 6 years ago

I see this utils. Is this utils return ALL params (from QUERY_STRING header of GET-request and body of POST-request)?

mattgodbolt commented 6 years ago

There's no support for retrieving query strings from POST, I'm afraid: you'll have to handle any POSTed data yourself.