POST System/GetSign

获得联科的签名

请求信息

请求URI参数

请求数据参数

要签名的信息

SignInfo
名称说明类型扩展说明
content

参数签名的字符串.

字符串

sign_type

加密类型 HMAC-SHA256/MD5 默认是HMAC-SHA256

字符串

appid

调用方APPID, HMAC-SHA256加密需要的秘钥,如果传递了appid则取appid对应的key。

字符串

creator

创建商户号,HMAC-SHA256加密需要的秘钥,如果传递了creator则优先取此创建商户号对应的key。

字符串

key

HMAC-SHA256加密需要的秘钥,默认使用联科的秘钥

字符串

请求数据格式

application/json, text/json

例子:
{
  "content": "sample string 1",
  "sign_type": "sample string 2",
  "appid": "sample string 3",
  "creator": "sample string 4",
  "key": "sample string 5"
}

响应数据

资源说明

ResultInfoOfString
名称说明类型扩展说明
code

ResultCode

msg

字符串

data

字符串

响应数据格式

application/json, text/json

例子:
{
  "code": "SUCCESS",
  "msg": "sample string 1",
  "data": "sample string 2"
}