diff --git a/example/android/send_notif.py b/example/android/send_notif.py index ff362e6f997a3b6c89d7191a8258356d0094a75d..740a9d14dea87d2f60bc28593a8baa938ecb5b77 100644 --- a/example/android/send_notif.py +++ b/example/android/send_notif.py @@ -15,11 +15,11 @@ data = { "title": "Wix Example Project" } } -dataAsJSON = json.dumps(data) +dataJson = json.dumps(data) request = Request( 'https://gcm-http.googleapis.com/gcm/send', - dataAsJSON, + dataJson, { "Authorization" : "key="+API_KEY, "Content-type" : "application/json"