I download the sample project in website. And I can run it successful, but a question here. For the webapi service, the services address is <a class="postlink" href="http://localhost:8080/api/services/app/">http://localhost:8080/api/services/app/</a> like this. And for the login service in weB.MVCController, its address is <a class="postlink" href="http://localhost:8080/account/Login">http://localhost:8080/account/Login</a>. But I found there is webpi.AccountControl, what's the service address of it? I tried <a class="postlink" href="http://localhost:8080/api/services/account/Authenticate">http://localhost:8080/api/services/account/Authenticate</a>, it did not work. Could you let me know? Thanks!
5 Answer(s)
-
0
It's
http://localhost:8080/api/Account/Authenticate
as default route. /api/services/ is special url for dynamic web api layer feature of ABP.
-
0
Thank you !
-
0
I tried "http://localhost:8080/api/Account/Authenticate" , the response is " An internal error occurred during your request!" 。log is "ERROR 2016-05-23 13:16:09,650 [13 ] lers.Filters.AbpExceptionFilterAttribute - Processing of the HTTP request resulted in an exception. Please see the HTTP response returned by the 'Response' property of this exception for details."
-
0
@wangxiaochen you can debug into XXX..Api.Controllers.AccountController.Authenticate to track what happened, and which statement is executed, the exception is thrown. Also, I am think 8080 port is so general and used by other service.
-
0
Hi,
You can also find error details in Logs.txt file under your web project. If it is not there, you can check window's event logs.