Home Ask Login Register

Developers Planet

Your answer is one click away!

Rethabile February 2016

Rest API works in Google Rest Client but not in AnuglarJS

Rest API works in Google Rest Client but in AngularJS their is a CORS issue. Why is that?

Answers


dgig February 2016

CORS doesn't apply to the client because it isn't try to do the request from another website - it's doing it from your computer. But when you do it on your site using AngularJS - then you encounter the CORS issue.

Post Status

Asked in February 2016
Viewed 3,927 times
Voted 10
Answered 1 times

Search




Leave an answer


Quote of the day: live life