I have the following, which i took from the docs http://docs.appery.io/documentation/b.... But I am unable to make it work, as it keeps giving me an error in console.
{"payload":{"message" : You have a question in your area, "badge" : 0}, [ "filter" : {"lc" : "Cotterell"}]}
Could someone check this syntax:
codedata: JSON.stringify('{"payload":{"message" : '+message+', "badge" : 0}, [ "filter" : {"lc" : "'+ sname +'"}]}');/code
Thanks.