cloudflare / cloudflare/cloudflare-php
Custom hostnames - addHostname does not work
Open
- Dominant language
- PHP
- Stars
- 674
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Description
When I try to execute the following:
```
new CustomHostnames($this->adapter)->addHostname(
"zone_id",
"mydomain.com",
);
```
I get the error message: `Unable to decode the JSON request body. Please check your input and try again.`.
I tried to modify the `addHostname`-function and remove the ssl-array, and by doing that, I could successfully create a custom hostname.
I am using a free-plan account on cloudflare.
Contributor guide
Assessment
This issue has not been assessed yet.