Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded small tip regarding query params #538
Conversation
|
Just a little tidy up and it's good to go I think! |
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
|
LGTM - thanks! |
To clarify a little bit between the difference of
req.params.getandreq.query.!!! tip
If you want to get params like
/hello/?name=fooyou will need to use Vapor's Content APIs to handle URL encoded data in the URL's query string. Examplelet name: String? = req.query["name"]. SeeContentreference for more details.