Why You Should Use the WordPress HTTP Functions to Make API Requests

Sometimes your WordPress site needs to talk to other services around the web. This almost exclusively happens using the HTTP protocol. A common example is when your WordPress installation contacts the wordpress.org servers to check for new versions of plugins, themes, and WordPress core itself. In this article, we take a closer look at the built-in HTTP functions that WordPress offers to make these requests, and show why it’s almost always a good idea to use those instead of PHP functions.

This post was originally published on Delicious Brains by Erik.

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.