Use wp_remote_post to replace curl