Hi,
I would like to develop a REST service to be used not from the application layer, but from an external App, for example, a mobile App. What should I do?
Trying to consume a REST service usgin ASP.NET Web API from ABP doesn't seem to work right out of the box. I get an 500 error.
Thanks, Felix.
2 Answer(s)
-
0
Hi,
In fact, you should be able to use your AppServices from external apps like a mobile app. You need to use token based auth for that <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide#token-based-authentication">https://www.aspnetzero.com/Documents/De ... entication</a> (I assume your AppServices needs requests to be authanticated.)
And you can check the Logs.txt file in our Web project to see error details. It must be located under Logs folder or App_Data folder of your web app (It changes according to your AspNet Zero version).
-
0
Hi,
Thanks for the info, it was useful.
Regards, Felix.