When curl is refusing to work as you expect…
Reading Time: < 1 minutes …you probably need to look at the many options curl offers. But let me start from the beginning. Problem: [php] $curl = curl_init(); $url = ‘http://api.somewebsite.com/whatever’; curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($curl); Read More …