<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def post(self, uri, params={}, data={}):
        '''A generic method to make POST requests on the given URI.'''
        return requests.post(
            urlparse.urljoin(self.BASE_URL, uri),
            params=params, data=json.dumps(data), verify=False,
            auth=self.auth, headers = {'Content-type': 'application/json', 'Accept': 'text/plain'})