History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
ci:CreateQRcodeGenerateJob permission is required. For details, see Cloud Infinite action.GET /?ci-process=qrcode-generate&qrcode-content=<qrcode-content>&mode=<mode>&width=<width> HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
Parameter Name | Description | Type | Required or Not |
ci-process | Cloud Infinite processing capability, QR Code Generation parameter is qrcode-generate | String | Yes |
qrcode-content | Recognizable QR code text information | String | Yes |
mode | Generated QR code type, available values: 0 or 1. 0 for QR code, 1 for barcode, default value is 0. | Int | No |
width | Specify the width of the generated QR code or barcode, and the height will be proportionally compressed. | String | Yes |
<Response><ResultImage>base64-encoded image</ResultImage></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None. | Container for saving results | Container |
Node Name (Keyword) | Parent Node | Description | Type |
ResultImage | Response | QR code image base64 data | String |
GET /?ci-process=qrcode-generate&qrcode-content=<https://www.example.com>&mode=0&width=200 HTTP/1.1Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comDate: Fri, 10 Apr 2020 09:35:16 GMTAuthorization: q-sign-algorithm=sha1&q-ak=**********************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=**************************************
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 414641Date: Fri, 10 Apr 2020 09:35:16 GMTServer: tencent-cix-cos-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****<Response><ResultImage>base64-encoded image</ResultImage></Response>
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan