code: def post_flag_create(self, post_id, reason):
          
          params = {'post_flag[post_id]': post_id, 'post_flag[reason]': reason}
          return self._get('post_flags.json', params, 'POST', auth=True)
docs: Function to flag a post.
  
          Parameters:
              post_id (int): The id of the flagged post.
              reason (str): The reason of the flagging.