Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

ACS JSON payload in other format

$
0
0

Hi All,

I have a problem to send push notificactions from POST /v1/push_notification/notify.json

I send to ACS push This is my JSON= {"payload":{"title":"Game","alert":"Prueba vs Prueba starts in 30 min"},"channel":"Allusers"}

This is in the server ACS log
{"payload":{"title":"Game","alert":"Prueba vs Prueba starts in 30 min"},"channel":"Allusers","version":"v1","action":"notify","controller":"push_notification","key":"<Key>","format":"json"}

And the error is Http response code 422 , if removing the extra code,the push working fine, but only add this line in automatic from REST API commands.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>