Thanks to the WordPress forums someone answered that this only works via PHP if you set the UserAgent to a browser.
$ua="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.A.B.C Safari/525.13";
curl_setopt( $cd, CURLOPT_USERAGENT, $ua);
Related Posts:
- Is there a way to follow redirects with command line cURL?
- How to send a header using a HTTP request through a cURL call?
- How can I set the request header for curl?
- How to display request headers with command line curl
- How to fix libeay32.dll was not found error
- cURL to show response headers after submiting a file
- wget/curl large file from google drive
- curl: (35) SSL connect error
- How do I make curl ignore the proxy?
- SSL CA cert (path? access rights?)
- How do I measure request and response times at once using cURL?
- cURL equivalent in Node.js?
- Curl Error 56 “Failure when receiving data from the peer” while sending .tar.gz File
- Run Rsync from Python [duplicate]
- Stable tag of plugin in the readme file
- Is there a faster way to git-svn clone a wordpress plugin from the subversion repository?
- wp_remote_get vs. file_get_contents vs. cURL?
- wp_remote_get – cURL error 28 – only on same domain
- cURL – How to send and fetch data in WordPress
- How long should it take for a plugin to fully load into the WordPress.org plugin repository?
- Recreating a local repository from a currently existing wordpress.org repo..which I own
- How can I edit commit messages in my wp-hosted plugin repo?
- How to make previous versions available for users?
- cURL RETURNTRANSFER function in wp_remote_post
- How to convert this cURL to wp_remote_*?
- How to send file by wp_remote_post?
- Download file using cURL into wp-includes/uploads
- Submitting a block to the .org repo: do I submit compiled code, or source code? [closed]
- Curl error while creating user
- Call external API in wordpress based on user input
- Inconsistencies between wp_remote_post and cURL
- Set wordpress auth cookie from external site?
- Does wp_remote_post() require curl?
- WordPress.org how to force expire Cached Banner-772×250 from my Plugin page
- Difference between `curl -I` and `curl -X HEAD`
- wp_remote_post vs curl to send data in WordPress plugin
- After upgrading WordPress, I am getting the following error. Error message: cURL error 52: Empty reply from server
- How do I POST JSON data with cURL?
- curl: (60) SSL certificate problem: unable to get local issuer certificate
- How do I install and use cURL on Windows?
- https connection using CURL from command line
- Curl command for https ( SSL )
- PHP + curl, HTTP POST sample code?
- What is the curl error 52 “empty reply from server”?
- Check in / Check out in subversion
- curl: (6) Could not resolve host: google.com; Name or service not known
- cURL error 60: SSL certificate: unable to get local issuer certificate
- Binary Data Posting with curl
- What exactly is cacert.pem for?
- How do I ignore files in Subversion?
- How do I return to an older version of our code in Subversion?
- PHP cURL custom headers
- Why does cURL return error “(23) Failed writing body”?
- How to delete an SVN project from SVN repository
- cURL request in Laravel
- Is it safe to use sslverify => true for with wp_remote_get/wp_remote_post
- what is the correct way to update a plugin via tortoise svn to the repository?
- Easiest Way to Create a Patch for Submission to WordPress Core?
- How are plugins in the WordPress plugin directory ranked?
- Plugin screenshots not showing in the repository
- Re use authenticated HTTP connection or cUrl handle
- Passing .pem and .key files in cURL doesn’t work in WordPress
- Updating a WordPress plugins breaks SVN
- Using source control with WordPress
- Is curl required?
- Commit changes to WordPress Plugin SVN with TortoiseSVN
- How to download old versions of plugins? [closed]
- Is there a seamless solution for submitting plugins to wordpress.org SVN and GitHub? [duplicate]
- cURL error 60: SSL certificate problem: unable to get local issuer certificate
- Use wp_remote_get to get JSON instagram feed from public profile
- Login WordPress website using wp-rest api
- How to convert this cURL to wp_remote_get?
- wordpress.org codebase
- On Plugin Activation, How Do I Check for Proper Transport Mechanism?
- Problem with cURL and rest API
- Missing Logo in Repository
- Create a patch using TortoiseSVN
- How to update plugins with database updates if I use svn
- Update a custom theme with Subversion?
- Errors when updating plugin through the WordPress plugin repository
- Git Hosting for WordPress SVN Plugin Repository [closed]
- How does WordPress know when there are plugin updates?
- What’s the best way to go about updating WordPress plugins when using SVN and multiple environments?
- Update own Plugin Repository on Multisite
- Change plugin name on WordPress repo
- AJAX error handling for submit function in functions file
- my own SVN for a plugin/theme
- Release the plugin in the WordPress repository where redux is used
- A server-side hook failed when committing plugin code to SVN
- cURL error 6 on news area, and also won’t auto update
- calling admin-ajax.php from admin-ajax.php
- CURL error with REST API
- Getting Download failed. cURL error 28: Connection timed out after 10001 milliseconds
- Post to WordPress API using cURL and login cookies
- How to send user data from one website to another
- Automating svn updates from a server-side cron job
- Does WordPress perform better with curl installed?
- WordPress Plugin: Where should I put my cookies for cURL?
- How to test a HTTPS URL with a given IP address
- Using wp_mail to send attachment from a file stream content