Each route response can serve a different body content. You have three possibilities to add a body content to your response: the inline body editor, an external file, or the content of a data bucket.
You can choose each option using the body selector:
You can use the body editor to directly create your response content. It supports all the templating helpers.
Mockoon will save the content of the inline body editor directly in your data file.
Using an external file could improve the performance for large content.
You can also choose to serve an external file, using the second option:
Please refer to the file serving documentation for more information.
You can finally choose to serve the content of a data bucket using the third option:
Please refer to the data bucket documentation for more information.