Hi Daniel,
I have made the rest service up @ a new path /compile
The service takes the following json as input
{ "template": "Hello ${user}", "dataModel": "user=pradeep"}
and then compiles the template and dataModel and returns the output.
https://github.com/pradeepmurugesan/freemarker-online/commit/10de59ac0db0bf0f79ab28214f50c851a5610e20
Please review the above commit and let me know if its ok. Will Integrate with
the UI. I have a questions though
1. Should I modify in the same path as "/" or keeping it in a separate path
like "/compile" is fine ?
Also I will write unit tests once we finalize the path.
Pradeep.