mardi 21 juillet 2015

Displaying JSON on HTML returned from Web Api Controller

I have created the Web Api project with MVC.I want to display the JSON result in HTML page. How should i do that? URL:

http://localhost:58379/api/ccpayment/GetEligibility?userid=3830&type=json

and the data i am getting is in the following format

{"DailyAllowance":10000.00,"AmountUsedForTheDay":0.00,"CDF":3.0000,"UserEligibleForCC":"EligibleButBanned"}

Aucun commentaire:

Enregistrer un commentaire