Hello

The TeaPot documentation [1] references Mustache [2] in the section

      4.1. Response Transformers [3]

There is an example for a JSON transformation but none for Mustache.

Where do I find some information how to use Mustache together with Teapot?

Regards
Hannes




[1]
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Teapot/Teapot.html

[2] 
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Mustache/Mustache.html


[3] The responsibility of a response transformer is to convert the
output of the action block to HTML and to set the content-type of the
response. Some response transformers require external packages (e.g.,
NeoJSON, STON, Mustache).

[4] Adapted example

TLWebserver teapot      GET: '/jsonlist' -> #(1 2 3 4); output: #json.

Reply via email to