cmptr
cmptr4w ago

Query params as input args

Is it possible to use query parameters as input args in a script or flow? Current use case is validating a subscription request to MS Graph which sends a validationToken as a query param with no option to pass it as a header. I can envision plenty of other use cases for this as well especially where requests are from sources out of the Windmill operator's control.
4 Replies
henri-c
henri-c4w ago
Hi @cmptr! Thanks for your question I've just clarified the docs section on this topic: https://www.windmill.dev/docs/core_concepts/webhooks#query-args Does that help?
Webhooks | Windmill
Webhooks are a way to interact with Windmill using standard web technologies.
cmptr
cmptr4w ago
yep, I'll give it a try. thank you! this works with flow as well as a script, right?
henri-c
henri-c4w ago
Yep totally!
cmptr
cmptr4w ago
I have an odd use-case where I need to use the token as a query arg and not a header. it would appear as though this behavior is broken by include_query