Giter VIP home page Giter VIP logo

Comments (5)

N3evin avatar N3evin commented on August 25, 2024

I'm getting this error when trying to access amiiboseries:
Access to XMLHttpRequest at 'https://www.amiiboapi.com/api/amiiboseries' from origin 'https://amiibo-time.web.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It's happening on my website over here: (the dropdown box at the top doesn't load any elements). It does allow me to access the Smash Ultimate list though.
https://amiibo-time.web.app/

I found the question on Stack Overflow too, and it seems the header needs to be changed in the back-end

Thank you for the feedback. I had fixed it, and it should now return the Access-Control-Allow-Origin Do you mind giving it a try and changed it back to be using https?

Edit: It was due to the reverse proxy. I forgot to make sure it's proxy correctly with parameters.

from amiiboapi.

windcloak avatar windcloak commented on August 25, 2024

It's still not loading right. It says this when I inspect it. I am definitely using the https link on my page though.
Mixed Content: The page at 'https://amiibo-time.web.app/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.amiiboapi.com/api/amiiboseries/'. This request has been blocked; the content must be served over HTTPS.

from amiiboapi.

N3evin avatar N3evin commented on August 25, 2024

It's still not loading right. It says this when I inspect it. I am definitely using the https link on my page though.
Mixed Content: The page at 'https://amiibo-time.web.app/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.amiiboapi.com/api/amiiboseries/'. This request has been blocked; the content must be served over HTTPS.

The error was due to the website not using HTTPS on amiiboapi.com. Please use https://www.amiiboapi.com, not http://www.amiiboapi.com

from amiiboapi.

N3evin avatar N3evin commented on August 25, 2024

I had just checked https://amiibo-time.web.app/ that it is working now. However, seems like you still calling HTTP. Do change to HTTPS, that should be fixed now.

from amiiboapi.

N3evin avatar N3evin commented on August 25, 2024

Shall close this, since there's no response from issuer :) But feel free to reopen the issue.

from amiiboapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.