I have a mobile application and asp.net zero is used on the server side.
I use a token base authentication. I call the services, which uses "AbpAuthorize" to mark methods as authenticate. When I call these services from my mobile client it returns HTML text with login page instead of JSON response "Current user did not login to the application!".
When I call the same service e.g. from "Adveced REST client" it returns JSON response, but from mobile client HTML text.
Do you know how can I change it?
Thank you very much