cloudflare / cloudflare-php

PHP library for the Cloudflare v4 API
BSD 3-Clause "New" or "Revised" License
621 stars 222 forks source link

Add Support For Custom Hostname Fallback Origin Retrieval #181

Closed phily245 closed 3 years ago

phily245 commented 3 years ago

Each SSL for SaaS has a fallback origin which will be hit if a request comes into a zone and it does not match the custom hostnames which exist within the zone.

I would like to be able to programtically surface these through the SDK using the API endpoint at https://api.cloudflare.com/#custom-hostname-fallback-origin-for-a-zone-get-fallback-origin-for-custom-hostnames.

I'll raise a PR for this.