Replies: 1 comment 1 reply
-
On latest, we added the query arg This is useful when the payload is not not known in advance and you want to handle it in your script. e.g: Python: def main(body: Any):
print(body) Typescript: export async function main(body: any) {
console.log(body);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't see a way to get webhook payload without adding
?raw=true
to the URL on the calling side, I would need to know the schema of the payload beforehand, which I don't, or also in cases where the schema might have different variants (e.g. GitLab webhook push event vs. deployment event - different fields).Edit: related issue - Headers?
I also can't access headers without query arg
&include_header=X-Gitlab-Event
or setting an env var (on the instance?) - which I guess it's a security related thing? That jobs can't access e.g. Auth headers of the windmill instance? 🤔Beta Was this translation helpful? Give feedback.
All reactions