Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Consuming WEB API services #693


User avatar
0
rajalla created

Halil,

Can you let me know how can I consume ABP web api from another application? Do I have to use token based authentication ? Are there any other options ?


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Token based auth is the best option. Another option is cookie based auth. But token based it ideal for using api from another application.

    Have a nice day.

  • User Avatar
    0
    rajalla created

    Thanks Halil for the quick response.

    Is the url "http://localhost:6234/api/Account/Authenticate" enabled by default ? When I used it to test my applcation using Postman it gave an error "No HTTP resource was found that matches the request URI".

  • User Avatar
    0
    rajalla created

    Nevermind I did not have the AccountController in WebAPI project