Please sign in to comment.
Accept `access_token` in the post body
We were only looking for it in the query parameters, which made it frustrating for people building POST requests who would have to include their token in the URL even though the rest of their data was in the POST body. Luckily, Express has our back with `req.param()`, which does the following: * Checks route params (req.params), ex: /user/:id * Checks query string params (req.query), ex: ?id=12 * Checks urlencoded body params (req.body), ex: id=12 Ref: http://expressjs.com/guide.html#req.param() Fixes Singly/API#113
- Loading branch information...