Closed saury closed 4 years ago
you can use a file for now.
{
"file": "text.txt",
"headers": {
"Content-type": "text/plain; charset=utf-8",
"custom": "custom",
"filename": "text.txt"
}
}
I will have to check why it wraps it with "" when you provide it as data
Using a file works as expected. Thanks.
Here is my json file:
It returns me data wrapped with
"
with my client. And how can I mock the plain text? Any one can help?