-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
just curious. why you use native xhr instead of angular's $http? #267
Comments
To be able to receive file progress progress event or cancel the upload. |
i see. I'm surprised angular's $http doesn't support that. |
Yea it's been like that for a long time angular/angular.js#1934 |
Hi, do you think that I can use this on a REST architecture, do you think I would have CORS issues? |
I have my api on same domain, if your api is on a different domain, then you would need to add CORS headers for the API to authorize the cross-site request. But no, I don't see it being a problem either way. |
Yea CORS requests should work fine. |
Demo is now sending CORS requests. |
No description provided.
The text was updated successfully, but these errors were encountered: