Open caibirdme opened 3 months ago
@caibirdme this is not a CloudEvent, so won't parse. What is the goal you're trying to achieve? Or is this rather a question that should be asked in the Argo repository?
argo-event can convert http request to cloudevent format, which I think could simply use this package to Unmarshal. But it seems like argo's cloudevent
is not standard cloudevent...
Here's argo events' data
But when I run
it reports error. It seems that attributes shouldn't be wrapped into
context
key?And here's argo events' doc: https://argoproj.github.io/argo-events/tutorials/02-parameterization/#webhook-event-payload