callback node js
Posted: 29. Apr 2022, 16:09
First of all congratulations for this powerful service & app!
I have setup the callback url to our node js backend service. After a send notification the url is called but with empty data:
/pushsafer callback req.body: {}
/pushsafer callback req.params: {}
/pushsafer callback req.query: {}
while I was expecting req.body.json to be like:
{
"status":1,
"success":"message transmitted",
"available":1823,
"message_ids":"1324312:118,1324313:324"
}
Am I missing something?
Thank you.
Regards.
Denis
I have setup the callback url to our node js backend service. After a send notification the url is called but with empty data:
/pushsafer callback req.body: {}
/pushsafer callback req.params: {}
/pushsafer callback req.query: {}
while I was expecting req.body.json to be like:
{
"status":1,
"success":"message transmitted",
"available":1823,
"message_ids":"1324312:118,1324313:324"
}
Am I missing something?
Thank you.
Regards.
Denis