There are a variety of ways to make HTTP requests with PHP. For instance, the most popular are "
fopen" and "
curl"; and different web hosts have different levels of support for them. When you develop for WordPress, you have to ensure that your code works across as many hosts as possible. A solution that supports all the different transport methods is thus required.