Giter Site home page Giter Site logo

Access to api blocked about codex HOT 9 CLOSED

jaagrav avatar jaagrav commented on July 22, 2024
Access to api blocked

from codex.

Comments (9)

Jaagrav avatar Jaagrav commented on July 22, 2024

You're supposed to call the API from the backend and not the front end, use netlify functions or use it using nodejs

from codex.

mohdafzal330 avatar mohdafzal330 commented on July 22, 2024

Hi Jaagrav,
Why I can't call the API's from front end ?

from codex.

Jaagrav avatar Jaagrav commented on July 22, 2024

This issue has already been tackled here

from codex.

mohdafzal330 avatar mohdafzal330 commented on July 22, 2024

But still I'm not able to make API call from angular

from codex.

mohdafzal330 avatar mohdafzal330 commented on July 22, 2024

showing CORS policy

from codex.

Jaagrav avatar Jaagrav commented on July 22, 2024

It shouldn't, can you share the screenshot of both the error and the code?

from codex.

mohdafzal330 avatar mohdafzal330 commented on July 22, 2024

from codex.

mohdafzal330 avatar mohdafzal330 commented on July 22, 2024

Here is the code
image

Here is the error I'm getting
image

from codex.

Jaagrav avatar Jaagrav commented on July 22, 2024

@mohdafzal330 Dude you did not read the comment properly did you? Use the link I have shown in the comment.

from codex.

Related Issues (18)

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.