I need to get the API data in my controller and then pass in my views? Do i need to install GuzzleHttp,or there is any other way to get the response from the API and then pass it to views? Here what i am trying to do
//Controller public function getIndex() {
$api = 'https://api.abc.com'; dd($api); }
It shows just a string not the response
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2sr983j
via IFTTT
Aucun commentaire:
Enregistrer un commentaire