mgonto / restangular

AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.88k stars 841 forks source link

http status code #1119

Open kodermax opened 9 years ago

kodermax commented 9 years ago

How can i process status code 404,502... in Restangular?

daviesgeek commented 9 years ago

Use an interceptor

pakTech786 commented 7 years ago

interceptor is getting status code as 0 instead of 401,404 or any other.

bostrom commented 7 years ago

Do you have some code examples, preferably as a Plunker (fork this one) that demonstrates your situation?

Please also read the updated issue guidelines and consider asking your question on StackOverflow instead.