<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 8:13 PM, bradrickcarter <span dir="ltr">&lt;<a href="mailto:bradrickcarter@gmail.com" target="_blank">bradrickcarter@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">First I&#39;d like to say I spent about 3 days trying to get the push plugin to<br>

work in my cordova project (pulled out all of my hair!). I finally got it<br>
working and I am able to push to iOS and Android. The issue is I can only<br>
push messages from the Aerogear Push server on OpenSift. I have tried all<br>
day to send a message using the rest end-points with cURL and Ajax. I have<br>
no more hair to pull out.<br>
<br>
I have used the following urls to send and none work;<br>
<br>
<a href="https://push-1127studios.rhcloud.com/ag-push/rest/sender" target="_blank">https://push-1127studios.rhcloud.com/ag-push/rest/sender</a><br>
returns - HTTP/1.1 400 Bad Request<br></blockquote><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">Can share the CURL that cause the 400 ? </div><div style="font-family:arial,sans-serif;font-size:13px">
I bet there is some tiny error on the actual CURL/JSON</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">PS: Does the &quot;Send Push&quot; dialog work? The Server has a little page to actually send messags</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">-M</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
<a href="https://push-1127studios.rhcloud.com/rest/sender" target="_blank">https://push-1127studios.rhcloud.com/rest/sender</a><br>
returns - HTTP/1.1 404 Not Found<br>
<br>
I have double checked my applicationID and master secret but nothing is<br>
working.<br>
<br>
Help!<br>
please...<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/push-sender-rest-not-working-for-me-tp8517.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/push-sender-rest-not-working-for-me-tp8517.html</a><br>

Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>