0

Does anyone know if Tekton event listeners and triggers work with HTTP GET requests?

Going off of this guide: https://tekton.dev/docs/getting-started/triggers/

I tried to create a binding that doesn't take any params, similar this:

apiVersion: triggers.tekton.dev/v1beta1
kind: TriggerBinding
metadata:
  name: http-get-translater
spec:
  params:
  - name: placeholder
    value: nothing

But it always requires a spec with params.

The closest I got was a POST with an empty JSON, {}. I could not even get things working with no JSON in the data payload.

Are GET requests not possible?

Thank you for your help 🙇

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.