POST
method.x-www-form-urlencoded
Parameter Name | Description |
---|---|
appid | Application ID |
sign | Signature string |
token | User login token (if required) |
MD5(original_message + appkey)
appid=ios-pac-v1&userid=888
md5sign = MD5(appid=ios-pac-v1&userid=888 + appkey)
appid=ios-pac-v1&userid=888&sign=md5sign
appid
and appkey
Tableappid | appkey |
---|---|
ios-pac-v1 | 82ac238eb5909b9881628b6e0be7f884 |
android-pac-v1 | e32f3ccb395c84c10e219a71101a76f2 |
web-pac-v1 | a70e2433bc8b034f86441d861b91c3ab |
debug=1
to skip signature validation. However, all required parameters must still be included in the request.token
parameter.token
parameter, which is returned upon user login.Field Name | Description |
---|---|
success | Indicates success (true or false ). |
code | Error code. |
msg | Error message or description. |
data | Data content (can be an array or object). |
data
field is returned as null
if it does not exist.0
.""
(empty string).[]
(empty array).null
.POST /user/info HTTP/1.1
Host: test-regiftme-api.gcard8.com
Content-Type: application/x-www-form-urlencoded
appid=ios-pac-v1&userid=888&sign=md5sign&token=abcd1234