tinypellets
tinypellets11mo ago

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?
Solution:
Hi, you need to format the return value as valid JSON.
No description
Jump to solution
3 Replies
Solution
Luis
Luis11mo ago
Hi, you need to format the return value as valid JSON.
No description
Abrar
Abrar10mo ago
Thats cool and all but i still get the warning "The return type must be string"
No description
Gaurav Chadha
Gaurav Chadha10mo ago
It should not affect the workflow working and output.

Did you find this page helpful?