Setting Content-Type in return node
Hi,
I'm trying to return JSON with the return node. The
Content-Type
header is text/plain
. How do I return application/json
as the Content-Type
?3 Replies
Solution
Hi, you need to format the return value as valid JSON.
Thats cool and all but i still get the warning "The return type must be string"
It should not affect the workflow working and output.