tripp-bishop
10 years agoMentor
Making Anonymous blog comments via REST API /message/reply call
Hi everyone,
I need to enable anonymous comments on a blog node (via the "Let visitors post comments" setting in the admin plugin) but we have a custom widget that has the comment UI and then we use a custom endpoint to create comments. This works great for registered users via the /messages/id/${msgif}/reply REST API call. However, in the out of the box Lithium UI if an anonymous user is trying to post there are two extra required fields: Name and Email. Looking at the REST API docs for the afore mentioned API call, I don't see parameters that correspond to Name and Email. Is it even possible to post anonymous replies this way or are we stuck having to use the OOB comment-editor component?
Cheers,
Tripp