Closed hsingh6764 closed 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
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
https://github.com/cloudflare/node-cloudflare/pull/30
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