Commit 022126f4502bea2ef974664413284c86dcafb8d3
1 parent
48bde1f0
Exists in
master
and in
1 other branch
Minor fix in support of callback
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
server.js
| @@ -24,6 +24,7 @@ app.get('/', function(req, res){ | @@ -24,6 +24,7 @@ app.get('/', function(req, res){ | ||
| 24 | 24 | ||
| 25 | app.post('/api', function(req, res){ | 25 | app.post('/api', function(req, res){ |
| 26 | console.log(req.body); | 26 | console.log(req.body); |
| 27 | + console.log(req.files); | ||
| 27 | /* Verifica se o paramêtro [servico] possui algum valor */ | 28 | /* Verifica se o paramêtro [servico] possui algum valor */ |
| 28 | if (req.body.servico !== '') { | 29 | if (req.body.servico !== '') { |
| 29 | /* Verifica qual é o Tipo de Serviço fornecido */ | 30 | /* Verifica qual é o Tipo de Serviço fornecido */ |