On Mon, Dec 16, 2013 at 9:56 AM, Apostolos Emmanouilidis <aemmanou@redhat.com> wrote:
My sense is that you're trying to perform a CORS request and probably
your REST service is not configured to support CORS.

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.
 

Here is an example to configure it [1]

[1]:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/installations/InstallationRegistrationEndpoint.java#L65



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


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev