code: def _post(url, headers={}, data=None, files=None):
      
      try:
          response = requests.post(url, headers=headers, data=data, files=files, verify=VERIFY_SSL)
          return _process_response(response)
      except requests.exceptions.RequestException as e:
          _log_and_raise_exception('Error connecting with foursquare API', e)
docs: Tries to POST data to an endpoint