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

ACS Rest api form

$
0
0

Hi guys,

I want to create a simple html form from where i can send push notifications to Android and IOS devices. I know the two steps: login to ACS and send the notification. In the html form i make a ajax request for the acs login, but i don't get any response van de ACS api. $.ajax({ type: 'POST', url: "https://api.cloud.appcelerator.com/v1/users/login.json", dataType: 'jsonp', //use jsonp data type in order to perform cross domain ajax crossDomain: true, data: {key:'xxxAPPKEYxxx', login : "xxxLOGINEMAILxxx", password: 'xxxLOGINPASSWORDxxx'}, success: function (responseData) { console.log(responseData); }, error: function (responseData) { console.log(responseData); } }); }


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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