public function mkdirWithInOrderKey($dir, $ttl = 0)
{
$data = array('dir' => 'true');
if ($ttl) {
$data['ttl'] = $ttl;
}
$request = $this->guzzleclient->post($this->buildKeyUri($dir), null, $data);
$response = $request->send();
$body = $response->json();
return $body;
}