how to get json data from API call - TypeScript

后端 未结 0 839
无人共我
无人共我 2021-01-14 05:15

I am new to typescript and I want to create an API call and fetch the json data from it instead of using this hardcoded json data.

This is my code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题