syndesisio / syndesis.io

The syndesis.io Website
https://syndesis.io
10 stars 36 forks source link

fix(cloudflare): use bearer token #186

Closed zregvart closed 3 years ago

zregvart commented 3 years ago

The current setup leads to authentication error when accessing Cloudflare API:

{"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}

We need to use the bearer token (this is what is generated on the account page), and POST method for this API, DELETE might work, but it's not documented that way.