<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def post_flag_create(self, post_id, reason):
 """Function to flag a post. Parameters: post_id (int):
 The id of the flagged post. reason (str):
 The reason of the flagging. """

        params = {'post_flag[post_id]': post_id, 'post_flag[reason]': reason}
        return self._get('post_flags.json', params, 'POST', auth=True)