def create_snippet(self, name, body, timeout=None):
payload = {<EOL>'<STR_LIT:name>': name,<EOL>'<STR_LIT:body>': body<EOL>}<EOL>return self._api_request(<EOL>self.SNIPPETS_ENDPOINT,<EOL>self.HTTP_POST,<EOL>payload=payload,<EOL>timeout=timeout<EOL>)<EOL>
API call to create a Snippet