PUT /?style HTTP/1.1Host: <BucketName-APPID>.pic.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth String<XML File>
<?xml version="1.0" encoding="UTF-8" ?><AddStyle><StyleName>string</StyleName><StyleBody>string</StyleBody></AddStyle>
Node Name (Keyword) | Parent Node | Description | Type | Required |
AddStyle | None | The style to be added | Container | Yes |
AddStyle
:Node Name (Keyword) | Parent Node | Description | Type | Required |
StyleName | AddStyle | Style name | string | Yes |
StyleBody | AddStyle | Style details | string | Yes |
PUT /?style HTTP/1.1Host: examplebucket-1250000000.pic.ap-chengdu.myqcloud.comDate: Tue, 03 Apr 2019 09:06:15 GMTAuthorization:XXXXXXXXXXXX<?xml version="1.0" encoding="UTF-8" ?><AddStyle><StyleName>style_name</StyleName><StyleBody>imageMogr2/thumbnail/!50px</StyleBody></AddStyle>
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 0Date: Tue, 03 Apr 2019 09:06:16 GMTx-cos-request-id: xxxxxxxxxxxxxxxxxx
Was this page helpful?