Access external webservice with cakephp

1

I'm trying to make requests in external WebServices with Cake's HttpSocket, the documentation has this example

$HttpSocket = new HttpSocket();

// string query
$results = $HttpSocket->get('https://www.google.com/search', 'q=cakephp');

// array query
$results = $HttpSocket->get('https://www.google.com/search', array('q' => 
'cakephp'));

But if I need a password, where do I put it?

    
asked by anonymous 13.11.2017 / 23:47

0 answers