[aerogear-dev] Aerogear.js for CRUD

Apostolos Emmanouilidis aemmanou at redhat.com
Mon Dec 16 03:56:31 EST 2013


My sense is that you're trying to perform a CORS request and probably
your REST service is not configured to support CORS.

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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev




More information about the aerogear-dev mailing list