Giter Club home page Giter Club logo

Comments (9)

geromegrignon avatar geromegrignon commented on June 2, 2024

Hi Parham. The API was down. I fixed it.
You should not face CORS issues by design. Feel free to tell me if there is still an issue.

Is using RealWorld a requirement for the interview? I'm curious as not having that much information about how the API is used outside of the project itself.

from realworld.

parhamsagharchi avatar parhamsagharchi commented on June 2, 2024

Thank You,

I check again and I didn't catch any errors such as CORS.

from realworld.

sarinaa-m avatar sarinaa-m commented on June 2, 2024

Hi
I having the same issue and when I want to call POST /api/users I get CORS error

would you mind help me.

from realworld.

geromegrignon avatar geromegrignon commented on June 2, 2024

Hi @sarinaa-m, can you share the full error message?

from realworld.

sarinaa-m avatar sarinaa-m commented on June 2, 2024

yes of course
Capture1

from realworld.

geromegrignon avatar geromegrignon commented on June 2, 2024

I only see the failure, please share the error message explaining that's a cors error

from realworld.

sarinaa-m avatar sarinaa-m commented on June 2, 2024

is it ok?
Capture2

from realworld.

sarinaa-m avatar sarinaa-m commented on June 2, 2024

thank you for answering my question
but I fixed it
I added withCredentials: true, to my axios config, and when I removed it, it worked.

from realworld.

geromegrignon avatar geromegrignon commented on June 2, 2024

Happy that's fixed on your side!
The API is allowing any origin intentionally.

from realworld.

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.