Get Service ID
This API is used to get service ID by domain.
1. Request Definition
- API URL
https://cdn-api.swiftfederation.com/v1.1/service_id
- Request Method
POST
- Request Header
Refer to HTTP Request Headers
- Request Body
Request Body Data Format: JSON
Field | Type | Description |
---|---|---|
domain | String | domain name |
- Request Body Example
{
"domain": "www.hao123.com"
}
2. Response Definition
- Response Header
Refer to HTTP Response Headers
- Response Body
Field | Type | Description |
---|---|---|
serviceId | int | Service ID number. |
- Response Body Example
{"serviceId":10}