'Create a resource instance.'

def create(self, method, uri, params=None, data=None, headers=None, auth=None, timeout=None, allow_redirects=False):

    response = self.request(method, uri, params=params, data=data, headers=headers, auth=auth, timeout=timeout, allow_redirects=allow_redirects)
    if ((response.status_code < 200) or (response.status_code >= 300)):
        raise self.exception(method, uri, response, 'Unable    to    create    record')
    return json.loads(response.text)
