In my SLIM app I need to call external API. What is the best practice to do so? Better if I get some example .
1 Like
Use Guzzle.
2 Likes
Guzzle is nice, curl is another option.
Can you give me some some sample code? I search in web but nothing helpful found.
- Guzzle Documentation - Quickstart (offical docs)
- Making HTTP Requests with Guzzle (tutorial/example)
- Crash Course of Wunderlist’s API with Guzzle (tutorial/example)
2 Likes