REST Support for Chatroom message - Drupal8

by Paurnima Partole   Last Updated November 14, 2017 13:07 PM

In REST UI, I'm able to see two APIs in chatroom message,

1. /entity/chatroom_message/{chatroom_message}: GET, PATCH, DELETE
2. /entity/chatroom_message: POST

Anyone knows how to use these REST request here, I want to POST the message via REST and GET details of same.


  1. body format(key value pair) for sending post request


  1. Which parameter should I pass into GET request? is that cmid? I tried but it's not working for me, I'm gettting below error on GET+POST request

    { "message": "You are not authorized to view this chatroom_message entity." }

Tags : 8

Related Questions