How to convert this cURL to wp_remote_get?
The curl is sending a POST request, to convert this you’ll want to use wp_remote_post(). As described in the documentation, the request arguments are the same as WP_Http::request(), so let’s look there how we can replicate your current version. curl_setopt( $ch, CURLOPT_URL, $url ); just sets the URL. Already doing this with wp_remote_post() curl_setopt( $ch, … Read more