Flipper
Flipper3w ago

Is it possible for a HTTP route to return non-json data?

Such as plain text, pdf and images etc.
3 Replies
Hugo
Hugo3w ago
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.
Flipper
FlipperOP3w ago
ah great! i was looking at the docs for http route. i now see they are kind of the same
Hugo
Hugo3w ago
yep, we will make it clearer in the docs! @dieriba_ ^

Did you find this page helpful?