Results 1 to 3 of 3

Thread: Help with the use of API (Implementation)

  1. #1

    Unhappy Help with the use of API (Implementation)

    Someone has a guide on how to petition the api, I've been at it all morning and because of the CORS problem I can't move forward from there. Please, no help. I don't know if I'm doing anything wrong. Thank you

  2. #2
    Centennial Club
    Join Date
    Feb 2016
    Posts
    195
    Quote Originally Posted by josetoloza23 View Post
    Someone has a guide on how to petition the api, I've been at it all morning and because of the CORS problem I can't move forward from there. Please, no help. I don't know if I'm doing anything wrong. Thank you
    Hi!

    The API is not meant to be used directly from a web browser. Because of the IP restriction it would not work for your site visitor.
    You need to create a small API of your own and when your API get called, call Clash of Clans API from there.

  3. #3
    If you are getting CORS errors when attempting to use the COC API developer site to test the API, this can be caused by extensions in your browser. Try using a different browser or disabling your extensions and see if that helps.
    Clash Ninja - Upgrade Tracker and Guides
    https://www.clash.ninja - Forum Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •