Is it possible for a HTTP route to return non-json data?
Such as plain text, pdf and images etc.
3 Replies
yes! you can use the same return helpers as in webhooks: https://www.windmill.dev/docs/core_concepts/webhooks#custom-response-content-type
Webhooks | Windmill
Webhooks are a way to interact with Windmill using standard web technologies.
ah great! i was looking at the docs for http route. i now see they are kind of the same
yep, we will make it clearer in the docs!
@dieriba_ ^