How to send data to html template?

Hi,
does anybody have any good examples to dig through how the data object should be handled in code when sending data from client to template?

I have a simple lower third with 2 fields (f0, f1) and I’m not sure how to get the data from client to my template.

Thanks!

Hi,you can take a look at the tutorial below!

https://chrisryanouellette.gitbook.io/casparcg-html-template-guide/

1 Like

Thanks, so this means that the client is sending the data as a JSON object?

Some clients does, some send the data as XML. So it is preferable to use a JavaScript library that abstracts away this. See indr’s tutorial for a guide on how to do that.

Thanks didikunz, good to know👍