How to use api in asp.net MVC | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use api in asp.net MVC

i have project and i want to showing data price of gold, i have the key of api but i dont know how to use it, anyone can help me?

17th Feb 2018, 11:55 PM
Rizki HENDRA PUTRA PAMUNGKAS
Rizki HENDRA PUTRA PAMUNGKAS - avatar
1 Answer
+ 8
It's no different from normal web call via HttpClient. Basically you'll use the API key to call their endpoint via GET/POST and parse the JSON/XML response accordingly. 😉
18th Feb 2018, 8:45 AM
Zephyr Koo
Zephyr Koo - avatar