Vote count:
0
I send it like so :
var url = "http://localhost:9001/v1/sanger/auth/facebook/callback",
options = {body: JSON.stringify(params), 'Content-type': 'application/json'};
request.post(url, options, function (error, response, body) {
... callbacks ...
});
I am not getting the params in the route (tried body
, params
and query
)
When I use postman (http://ift.tt/1sERLqx) I get it in the req.body
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire