Template syntax
Last updated
Last updated
The Mattermix API uses the templating syntax to dynamically update values in HTML or CSS. For example, you could have the following in your HTML: <p>{{title}}</p>
. The title value could be updated with the API by passing a title value in the content
object of the request body.
Below is an example using the Fetch API from JavaScript: