dongxiaoke2018
dongxiaoke2018
2016-10-31 12:17

在yii2 app中发出GET请求

已采纳

I want to make GET request for some API and get data from it. How can I send get request,get data from JSON and handle that for data that I can input in my HTML? I cant find any tutorial or something, please give some code. For example I want to get data from this API: https://api.privatbank.ua/p24api/pubinfo?exchange&json&coursid=11

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答