if ($response['http_code'] >= 200 && $response['http_code'] <= 204) {
$ticket = json_decode($response['content']);
$cookies = $response['cookies'];
if ($response['http_code'] >= 200 && $response['http_code'] <= 204) {
$ticket = json_decode($response['content']);
$cookies = $response['cookies'];