cloudflare / node-cloudflare

Node.js API for Client API
https://cloudflare.github.io/node-cloudflare/
Other
335 stars 92 forks source link

Support SSL for SaaS #29

Closed hsingh6764 closed 6 years ago

hsingh6764 commented 6 years ago

Example: curl - XPOST - vs - H "X-Auth-Key: {key}" - H "X-Auth-Email: {email}" - H 'Content-Type: application/json' - d '{"hostname":"app.example2.com", "ssl":{"method":"cname", "type":"dv"}}' https : //api.cloudflare.com/client/v4/zones/{zone_id}/custom_hostnames

hsingh6764 commented 6 years ago

https://github.com/cloudflare/node-cloudflare/pull/30