Added REST API to post in the chatroom