Bỏ qua đến nội dung chính

Thông số công khai của tiêu đề

Thông số tiêu đề

Tất cả các API đều yêu cầu thêm các tham số sau vào tiêu đề được yêu cầu:

Parameter name

Type

Required

Description

Content-Type

String

YES

application/json

X-Api-Id

String

NO

API ID value in API settings page in "Profile".

X-Nonce-Id

String

NO

Required, globally unique ID, generated by the caller, reference algorithm: {Client-Timestamp} + ":" + {Random String}

Authorization

String

NO

Signature parameter, value taking algorithm: MD5 (API ID+NonceId+SecretKey)

-API ID: Required, API ID value in the API settings page of "Profile"

-NonceId: required, globally unique ID (i.e. the value of the previous parameter: X-Nonce ID)

-SecretKey: Required, the API Key value in the API settings page of the "Profile"

Ví dụ về tham số chữ ký:

Giả thiết:

- API ID: 123456789

- NonceId: abcdef

- SecretKey: uvwxyz

Giá trị của Ủy quyền là:

MD5("123456789abcdefuvwxyz") = "2d3ad29bb2f48b569521ae0791bc5ca2"


Cần thêm trợ giúp? Vui lòng liên hệ với chúng tôi:


Nội dung này có giải đáp được câu hỏi của bạn không?