Usage of /posts/{id}/comments/render

Discussion

Render a comment given its body and the post it's on.

This method is meant for previewing or otherwise "faking" a comment. No validation is done with this method, if you need validation you should use the create or edit methods.

If an access_token is provided to this method, it will act as if that was creating the comment. Otherwise no user will be set as the returned answer's owner.

This method returns the created comment.

Try It

Stack Overflow [edit]