This commit is contained in:
Cedric Hoelzl 2019-09-20 13:55:53 +02:00
parent 5fd2b1a911
commit f8641252b2

View File

@ -69,7 +69,7 @@ module.exports = function(url, cmds){
post_action : (bot,req,rep)=>{ post_action : (bot,req,rep)=>{
}, },
get_action : (bot,req,rep)=>{ get_action : (bot,req,rep)=>{
console.log(req.body.args) console.log(req.query.args)
rep.type('application/json').code(200).send({reply: req.query.args }); rep.type('application/json').code(200).send({reply: req.query.args });
}, },