def append(self, key, value=None, dir=False, ttl=None, timeout=None):
url = self.make_key_url(key)<EOL>data = self.build_args({<EOL>'<STR_LIT:value>': (six.text_type, value),<EOL>'<STR_LIT>': (bool, dir or None),<EOL>'<STR_LIT>': (int, ttl),<EOL>})<EOL>try:<EOL><INDENT>res = self.session.post(url, data=data, timeout=timeout)<EOL><DEDENT>except:<EOL><INDENT>self.erred()<EOL><DEDENT>return self.wrap_response(res)<EOL>
Requests to create an ordered node into a node by the given key.