// render HTML on the API side