Regards,
Simon
Note - I'm not talking about requirejs, I'm talking about https://gitter.im/request/request - which is different.
https://gitter.im/request/request works in a simple node app from the command line. NO CORS.
But using any angular functions ($.ajax, $resource, $.post etc) in my angular app (ie a different app) does not work due to CORS. Different library, different results.
require.js uses sockets, but angular's functions are higher level and insist on CORS.
Note - I'm not talking about requirejs, I'm talking about https://gitter.im/request/request - which is different.
https://gitter.im/request/request works in a simple node app from the command line. NO CORS.
But using any angular functions in my angular app (ie a different app) does not work due to CORS.
My simple app that works is
https://github.com/datamystic/share2predictbgl-bridge
Let me know if I can help further.
Regards,
Simon Carter, DataMystic.com Skype:datamystic +61.3.9028.8594 (GMT+10 hours)
PS. Know someone with diabetes? Tell them about PredictBGL Insulin Dose Calculator PREDICTS future blood sugars, avoids hypos and coaches to better doses and better health
TextPipe: PCMAG - "The ultimate text conversion and manipulation tool"
Detach Outlook Attachments and send huge files - DetachPipe.com
Download the latest Windows, Mac and iPhone software - DownloadPipe.com
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/byzzwmcuQTY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Ok, thanks Martin,
Now I need to dig deeper into how my current working Windows CLI code makes the request without proxy and without triggering CORS.
- Simon