Access external webservice with cakephp

Asked

Viewed 33 times

1

I’m trying to make requests on external Webservices with Cake’s Httpsocket, in the documentation you have 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 in case you need a password, where do I put it?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.