REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
setting payload response variables
-
{
"status": "OK",
"execTime": 286,
"billedTime": 600,
"payload": "http://www.example.com",
"logs": ""How do i set the payload to a variable.. i can do it on local testing and on w3 and vscode but for some reason the same syntax is not working for appdrag i just want something like
var ORIGIN = payload response
-
Hi Robert,
Can you provide a bit more information, like what language you are using for your CloudBackend function?
if it's Node.js, try using:
callback(null, variable_for_payload)
If Python, you can try simply:
return variable_for_payload