I am using the Zend library’s XML RPC Client in a PHP application to pull data from another server over XML RPC. However the other server is using HTTP basic authentication. How can I tell the XMLRPC client to use authentication for the requests?
Share
Zend_XmlRpc_Clientinternally uses aZend_Http_Clientwhich handles the basic HTTP communication. You can retrieve the HTTP client with:and then you can set the requires authentication parameters: