docs: def post_message(server_context, message_title, message_body, render_as, container_path=None):
      """
      Post a message to a message board on a LabKey instance.
      :param server_context: A LabKey server context. See utils.create_server_context.
      :param message_title: The title of the message.
      :param message_body: The content of the message.
      :param render_as: The content of the message.
      :param container_path: Optional container path that can be used to override the server_context container path
      :return: Returns 1 if successful, 0 is post failed.
      """
      message_url = server_context.build_url('announcements', 'insert.api', container_path=container_path)
  
      message_data = {
          'title': message_title,
          'body': message_body,
          'rendererType': render_as
      }
  
      try:
          server_context.make_request(message_url, message_data)
      except SSLError as e:
          print("There was problem while attempting to submit the message to " + str(e.geturl()) + ". The HTTP response code was " + str(e.getcode()))
          print("The HTTP client error was: " + format(e))
          return 0
          
      return 1