Commit 7dfa5b5a19a7b036a2228d3a9b17e669ea409d61

Authored by dhuy
1 parent 08ee7ca6
Exists in master and in 1 other branch devel

Minor fix in support of callback

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
server.js
... ... @@ -23,8 +23,9 @@ app.get('/', function(req, res){
23 23 });
24 24  
25 25 app.post('/api', function(req, res){
26   - console.log('Query: \n' + req.query);
27   - console.log('Params: \n' + req.params);
  26 + console.log(req.query);
  27 + console.log(req.params);
  28 + console.log(req.body);
28 29 /* Verifica se o paramêtro [servico] possui algum valor */
29 30 if (req.query.servico !== '') {
30 31 /* Verifica qual é o Tipo de Serviço fornecido */
... ...