Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $response = $client->get('http://localhost:8080/Extranet/login',
- [
- 'auth' => [
- 'nobili.andrea@gmail.com',
- 'pswd'
- ]
- ]);
- $dettagliLogin = json_decode($response->getBody());
- Log::info('response: '.(json_encode($dettagliLogin)));
- $response = $client->get('http://localhost:8080/Extranet/login',
- [
- 'auth' => [
- //'nobili.andrea@gmail.com',
- //'pswd'
- $credentials['email'] . ','
- .$credentials['password']
- ]
- ]);
- $dettagliLogin = json_decode($response->getBody());
- Log::info('response: '.(json_encode($dettagliLogin)));
- 'nobili.andrea@gmail.com',
- 'pswd'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement