Cross-domain API

Curtis Rabon crabon at turnerbroadband.com
Thu Mar 10 10:53:34 EST 2016


I’m trying to use a jquery getJSON call on the API, and it is failing because of cross-domain errors. I have tried using JSONp but the API is not wrapping the query in a callback. I would prefer to just add res.header("Access-Control-Allow-Origin", "*”) and fill in my IP, but I do not know where to add the line at. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160310/dbb5ef53/attachment.html>


More information about the Users mailing list