Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to directly deliver event's payload to HTTPTrigger? #3019

Open
sugaf1204 opened this issue Feb 14, 2024 · 0 comments
Open

How to directly deliver event's payload to HTTPTrigger? #3019

sugaf1204 opened this issue Feb 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sugaf1204
Copy link

Is your feature request related to a problem? Please describe.
I would like to directly delivery payload which GitHub Webhook send to HTTPTrigger.

I can't find out sepecifing root of json objects in sjson.

Describe the solution you'd like
When payload attr of HTTPTrigger is null, payload is empty now.
https://github.com/argoproj/argo-events/blob/83c56bca7a3d2e1c9391b0ff5feb26b783d41802/api/sensor.md#httptrigger

t.Logger.Warnw("payload parameters are not specified. request payload will be an empty string", zap.Any("url", trigger.URL))

When payload attr (of HTTPTrigger or more) is null, deliver raw payload to HTTPTrigger, or add flag to do it.


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@sugaf1204 sugaf1204 added the enhancement New feature or request label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant