Hi all, 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 Best regards Johnny
1 Answer(s)
-
0
Hi @Johnny1102,
I don't have any knowledge about mobile development but I think you should set some header on your request from mobile app. You can use chrome's postman extension to see request header details.
Thanks.