Query Whether the Domain Name can be Filed
Last Updated:2020-09-17
This interface is used to query whether the specified domain name is filed.
Method | Path | Description |
---|---|---|
GET | /v2/domain/{domain}/icp | Query whether the domain name is filed |
domain: domain name being queried.
Response body
Parameter | Optional | Type | Description |
---|---|---|---|
IcpStatus | Required | string | "true " means the domain name is filed, and “false " means the domain name is not filed. |
Request example
GET /v2/domain/www.baidu.com/icp HTTP/1.1
Host: cdn.baidubce.com
Response example
-
You can add domain names.
HTTP/1.1 200 OK Server: nginx Date: Wed, 04 Dec 2019 03:30:08 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive X-Powered-By: PHP/7.1.5 x-bce-request-id: 934b05db-484f-a5ad-7f54-e60c4c707a0 { "IcpStatus":"true" }
-
You cannot add a domain name.
HTTP/1.1 200 OK Server: nginx Date: Wed, 04 Dec 2019 03:30:08 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive X-Powered-By: PHP/7.1.5 x-bce-request-id: 934b05db-484f-a5ad-7f54-e60c4c707a0 { "IcpStatus":"false" }