<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"><<a href="mailto:aemmanou@redhat.com" target="_blank">aemmanou@redhat.com</a>></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'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>
> I am having a problem with pipe.save(), likely user error :-)<br>
><br>
><br>
> For some reason, the POST is occurring, the save seems to work but the<br>
> error callback is invoked, not the success method.<br>
><br>
><br>
> And I am doing all of this in the context of our tooling which has<br>
> some limitations (auto-closing console/firebug lite)<br>
><br>
><br>
> <a href="http://screencast.com/t/gosd7Qnhz" target="_blank">http://screencast.com/t/gosd7Qnhz</a><br>
><br>
><br>
> REST endpoint:<br>
> <a href="http://agmobile-html5.rhcloud.com/rest/forge/members" target="_blank">http://agmobile-html5.rhcloud.com/rest/forge/members</a><br>
> Use of Forge, with the Member.java entity to offer full CRUD<br>
> capabilities<br>
><br>
><br>
> Sources:<br>
> <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>
><br>
><br>
</div></div>> _______________________________________________<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>
<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>