code: def create(self):
          
  
          # In the header.location there is the newly created object so get the id out of the url
          created_id = self._post_request(
              data=self.element_to_string(self.encode())
          ).headers.get('Location').split('/')[-1]
          return self.get(created_id)
docs: Creates the object
  
          :return: the created object
          :rtype: object