How To Fetch Data From Api In Javascript Using Visual Studio