<div dir="ltr"><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 9:56 AM, Apostolos Emmanouilidis <span dir="ltr">&lt;<a href="mailto:aemmanou@redhat.com" target="_blank">aemmanou@redhat.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">My sense is that you&#39;re trying to perform a CORS request and probably<br>

your REST service is not configured to support CORS.<br></blockquote><div><br></div><div>CORS should not be an issue for a hybrid/cordova  app and even then, the POST should not even occurs if there was a CORS issue.</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>
Here is an example to configure it [1]<br>
<br>
[1]:<br>
<a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L65" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L65</a><br>

<div><div class="h5"><br>
<br>
<br>
On Sat, 2013-12-14 at 12:06 -0500, Burr Sutter wrote:<br>
&gt; I am having a problem with pipe.save(), likely user error :-)<br>
&gt;<br>
&gt;<br>
&gt; For some reason, the POST is occurring, the save seems to work but the<br>
&gt; error callback is invoked, not the success method.<br>
&gt;<br>
&gt;<br>
&gt; And I am doing all of this in the context of our tooling which has<br>
&gt; some limitations (auto-closing console/firebug lite)<br>
&gt;<br>
&gt;<br>
&gt; <a href="http://screencast.com/t/gosd7Qnhz" target="_blank">http://screencast.com/t/gosd7Qnhz</a><br>
&gt;<br>
&gt;<br>
&gt; REST endpoint:<br>
&gt; <a href="http://agmobile-html5.rhcloud.com/rest/forge/members" target="_blank">http://agmobile-html5.rhcloud.com/rest/forge/members</a><br>
&gt; Use of Forge, with the Member.java entity to offer full CRUD<br>
&gt; capabilities<br>
&gt;<br>
&gt;<br>
&gt; Sources:<br>
&gt; <a href="https://github.com/burrsutter/AGContacts/blob/master/www/js/index.js" target="_blank">https://github.com/burrsutter/AGContacts/blob/master/www/js/index.js</a><br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<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></div></div>