Search code examples
phpslimslim-3

Slim 3 get from API?


Is there a way using Slim 3 to get data from an api endpoint? I've searched on google and there doesn't seem to be any way to do this from my research.

Any help would be great, thanks!


Solution

  • you can make HTTP calls to external API using any HTTP client. For example, guzzle. For more info, go to this link. Hope it helps