AnsweredAssumed Answered

HTTPPOST Example Android GCM

Question asked by Flow on Mar 23, 2015
Latest reply on Jul 4, 2016 by Gerardo Gallucci
Hi All,

I'm evaluating the SPWF01, so I want to send an Android GCM HTTP post (json or plain text) - but I've no success.

I tried it with:,/gcm/send,Content-Type:application/x-www-form-urlencoded;charset=UTF-8&Authorization:key=APIKEY,80

and also with:,/gcm/send,Content-Type:application/json&Authorization:key=APIKEY,80

I got following answer:
HTTP/1.0 401 Unauthorized

Has anybody an idea or can give me an example how to send the http header via the SPWF AT command?

Best regards,