Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

CORS issue : AngularJS POST Fails: Response for preflight has invalid HTTP status code 404 #1651

Closed
PManager1 opened this issue Nov 23, 2016 · 5 comments
Assignees

Comments

@PManager1
Copy link

PManager1 commented Nov 23, 2016

Hello guys, so I've 2 applications running on ec2.

First one is mainly used for calling services upon.
Second one has the whole UI and it calls the other one for the data. It runs okay for http READ operation but when i try to run UPDATE on the server it gives me this error.

Can someone please help me how to resolve this CORS issue in mean app ?

@codydaig
Copy link
Member

@jpca999 This question has been answered here. #1609

@PManager1
Copy link
Author

@codydaig the Caller application is only Angular has no express/ node. Is there any other way to resolve the CORS ?

@codydaig
Copy link
Member

CORS has to be handled on the server side.

@codydaig
Copy link
Member

Glad to hear it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants