balderdashy / balderdashy/sails
Concepts > Controllers: Add a section on how to access incoming request data
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/balderdashy/sails-docs/issues/934 --> Is still not resolved.
It would help to put the following statement on the sails controllers page:
// req.param will contain any route params, body params or
// query string params
https://stackoverflow.com/questions/22628089/sails-js-retrieving-url-parameter-after-redirect
Contributor guide
Research direction
Start with the Sails controllers documentation page and review the unresolved issue at balderdashy/sails-docs#934. Use the cited Stack Overflow question for context, then add a section explaining how incoming route, body, and query-string data are accessed through req.param. Done means the controller documentation clearly includes this guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100