def create(self, method, uri, params=None, data=None, headers=None, auth=None, timeout=None,<EOL>allow_redirects=False):
response = self.request(<EOL>method,<EOL>uri,<EOL>params=params,<EOL>data=data,<EOL>headers=headers,<EOL>auth=auth,<EOL>timeout=timeout,<EOL>allow_redirects=allow_redirects,<EOL>)<EOL>if response.status_code < <NUM_LIT:200> or response.status_code >= <NUM_LIT>:<EOL><INDENT>raise self.exception(method, uri, response, '<STR_LIT>')<EOL><DEDENT>return json.loads(response.text)<EOL>
Create a resource instance.