title: Making GET request in yii2 app
body: <p>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:
  <a href="https://api.privatbank.ua/p24api/pubinfo?exchange&amp;json&amp;coursid=11" rel="nofollow">https://api.privatbank.ua/p24api/pubinfo?exchange&amp;json&amp;coursid=11</a></p>