Building a lean WordPress API client, no extra libraries
Syncing users between two WordPress sites, I built a small REST API client on WordPress’s own WP_Http class instead of pulling in Guzzle. It uses dependency injection and returns WP_Error on failure.