Use API instead of custom wp_remote_request

Ignore the branch name, this doesn't help with the timeout I'm getting.

In theory, this is change makes exactly the same request. @fjarrett Does it work for you?