• Register

ACTIVE Network API Forums

Activity Search API v2

RSS Feed

CORS - javascript

    • LastGoblin
    • Topic created 9 years ago

    I can't get any results!!! every time I send a request it gives me this error: XMLHttpRequest cannot load http://api.amp.active.com/v2/search/?current_page=1&per_page=10&sort=distance&exclude_children=true&api_key=xxx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. The response had HTTP status code 596.

    I use this header: X-Originating-Ip: http://localhost

    and the one given by your system at http://developer.active.com/io-docs X-Originating-Ip: 213.141.15.126

    no changes on the error.

    Please let me know what I'm doing wrong and how to make it right.

    Regards in advance.

    Message edited by jdemery 2 years ago

  1. jdemery9 years ago

    http://api.amp.active.com/v2/search/?current_page=1&per_page=10&sort=distance&exclude_children=true&api_key=xxx works for me. Testing with Chrome using JSONView App. I cannot help you with your system configuration. To prevent unathorized use please do not include your API key in the forum. Thanks

[ Page 1 of 1 ]