def _post(self, request, uri, params=None):
request_data = {<EOL>'<STR_LIT>': self.account_key,<EOL>'<STR_LIT>': self.account_key,<EOL>'<STR_LIT>': request,<EOL>}<EOL>request_data.update(params or {})<EOL>response = requests.post(<EOL>url='<STR_LIT>'.format(uri),<EOL>headers=self.headers,<EOL>data=json.dumps(request_data)<EOL>)<EOL>if not response.ok:<EOL><INDENT>raise ServerException(<EOL>'<STR_LIT>'.format(response.status_code, response.text))<EOL><DEDENT>return response.json()<EOL>
A wrapper for posting things.

:param request: The request type. Must be one of the
    :class:`ApiActions<logentries_api.base.ApiActions>`
:type request: str

:param uri: The API endpoint to hit. Must be one of
    :class:`ApiUri<logentries_api.base.ApiUri>`
:type uri: str

:param params: A dictionary of supplemental kw args
:type params: dict

:returns: The response of your post
:rtype: dict

:raises: This will raise a
    :class:`ServerException<logentries_api.exceptions.ServerException>`
    if there is an error from Logentries