Tuesday 22 January 2019

[Help!] API endpoint through Express works on localhost but gives 500 error on web server

I'm running a node app with express and I've built an endpoint for a filtering functionality.It works totally fine when I am running locally but when I deploy onto the web server, it gives me a 500 error when trying to post to the api endpoint.Everything else works, the logic/functionality, etc, its just the XMLHttpRequest status failsThe web server is on https, while my local is just running http. Could this have something to do with what is going on and why the endpoint is failing? It started happening fairly recently, although I am certain it was running earlier on https totally fine so i am really stumped here.Thanks in advance

Submitted January 22, 2019 at 07:21PM by searchingforroots

No comments:

Post a Comment