title: MeteorJS REST API from External URL (using CollectionsFS)
body: <p>We've implemented an API using CollectionFS' http-methods package (<a href="https://github.com/CollectionFS/Meteor-http-methods" rel="nofollow">https://github.com/CollectionFS/Meteor-http-methods</a>)</p>
  
  <p>However, this API needs to be called from another (external) domain, which means our API Server must respond to a preflight OPTIONS methods and have the Access-Control-Allow-Origin header set to either * or the external domain.</p>
  
  <p>Unfortunately, while the Internet if filled with various suggestions, mainly for Meteor's mobile app/cordova support. I could not find a working solution when trying to access an API endpoint via an external domain.</p>
  
  <p>Any suggestions?</p>
  
  <p>P.S - Please avoid suggestions that hit on NOT implementing an API and using DDP instead, as they are not relevant in this case.</p>