Creating Custom RESTful APIs Dependancy restui Enable your rest endpoint at /admin/config/services/rest Get the REST in JSON at: /demo/rest?_format=json Get the REST in XML at: /demo/rest?_format=xml