code: def create(self, obj, payload, async=False):
          
          self.url = self.base_url + obj
          self.method = 'POST'
          self.payload = json.dumps(payload)
          if async:
              self.method = 'POST(Async)'
              session = FuturesSession()
              self.resp = session.post(url=self.url, auth=self.auth,
                                       headers=self.headers, data=self.payload,
                                       cert=self.ca_cert)
              return self.resp
          else:
              self.resp = requests.post(url=self.url, auth=self.auth,
                                        headers=self.headers,
                                        data=self.payload, cert=self.ca_cert)
              return self.__process_resp__(obj)
docs: Function create
          Create an new object
  
          @param obj: object name ('hosts', 'puppetclasses'...)
          @param payload: the dict of the payload
          @param async: should this request be async, if true use
                          return.result() to get the response
          @return RETURN: the server response