Render a TXT template
Fills carbonetemplate.txt with the JSON data and returns the rendered file.
Input
{
"files": [
{
"name": "carbonetemplate.txt",
"type": "",
"path": "testdata/carbonetemplate.txt"
}
]
}Output · HTTP 200
{
"statusCode": 200,
"headers": {
"content-type": "text/plain"
}
}Show curl command
curl -X POST 'https://api.1001fx.com/carbone/rendercarbonetemplate' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-F 'file=@carbonetemplate.txt'