Commit 02be00c2 authored by Amit Davidi's avatar Amit Davidi

minor change

parent bd97bb0b
...@@ -15,11 +15,11 @@ data = { ...@@ -15,11 +15,11 @@ data = {
"title": "Wix Example Project" "title": "Wix Example Project"
} }
} }
dataAsJSON = json.dumps(data) dataJson = json.dumps(data)
request = Request( request = Request(
'https://gcm-http.googleapis.com/gcm/send', 'https://gcm-http.googleapis.com/gcm/send',
dataAsJSON, dataJson,
{ {
"Authorization" : "key="+API_KEY, "Authorization" : "key="+API_KEY,
"Content-type" : "application/json" "Content-type" : "application/json"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment