$url = "https://product-search.api.cj.com/v2/product-search?website-id=7181562&serviceable-area=US&keywords=¤cy=USD"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: '.CJ_KEY)); $curl_results = curl_exec($ch);