Click here to Skip to main content
15,914,594 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have written webApi to validate that the user exist in the Datbase or no. It returns boolean .
I want that Api to be used in my UI side using HTML and Javascript. How do I maie call to the that Api.
Also The entered UserName should go as a parameter to that Api.

What I have tried:


Username

Password

LogIn


this is my HTML, But i Dont know to call that API..
Posted
Updated 20-Jul-18 2:14am

google "call web api from javascript" for examples, this is thoroughly documented already.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900