Code Monkey home page Code Monkey logo

Comments (4)

rickvdbosch avatar rickvdbosch commented on June 6, 2024 1

But the 500 might be some kind of CORS thing?

Nope, the 500 is the same as the message showing up in Developer Tools in the browser. And calling from Postman isn't seen as cross origin because it's not from another front-end. So there's something not completely right there. I'll be setting up a database to test this, will keep you posted.

from cfpexchange.

rickvdbosch avatar rickvdbosch commented on June 6, 2024

I've tested this locally: it works fine there. When firing the same request to the production environment, I get HttpStatus 500. My guess is there's a discrepancy between the code and the database. However, I cannot test against the database since I don't have one...

from cfpexchange.

jfversluis avatar jfversluis commented on June 6, 2024

Hm that is weird. But the 500 might be some kind of CORS thing? So not everyone can just go around and see what is in our database? Just guessing here, I should check App Insights for that.

from cfpexchange.

Jandev avatar Jandev commented on June 6, 2024

@rickvdbosch I have a test database set up in Azure which you can use to test this, if you want.

But I figure you can create one for yourself also ;-)

from cfpexchange.

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.