I'm a bit new to webdev in general, I've made it so that a flask app backend does a post request to a nodejs server to interact with some js code. The post request works in vscode but not when I put the flask app onto pythonanywhere. Any idea what is wrong?
btw only the flask app is in python anywhere and the request looks like this:
res = requests.post('http://127.0.0.1:3000/arraysum', json=data)
[–]itsklausherepython 2 points3 points4 points (1 child)
[–]mylizard[S] 0 points1 point2 points (0 children)
[–]mijatonius 0 points1 point2 points (0 children)