3.jugugu获取小红花POAP
POST
https://testnet.jugugu.cn/Jugugu_FastGetNFT
请求参数
Body 参数application/json
phone
string
手机号
account
string
项目方账户
secret
string
项目方密码
time
integer
+8区Unix时间,单位秒
token
string
登录令牌
openid
string
项目方账户系统的唯一识别码
contract
string
小红花POAP合约
nftid
string
POAP的事件ID
codestr
string
小红花POAP领取码
chaintype
string
区块链类型
示例
{
"phone": "10101010101",
"account": "31c681bcb34c1457ab5b1521c340468ce106dfc6592bac55fb68f76994130d66",
"secret": "8d0f0b25c236af70c4980bea261b154745ccfba25e5683ef100a9e05b0922e88",
"time": 1652446989,
"openid": "951",
"token": "da1c75bd8ad31cb27aca098eade94848b2fad98fc28ff9a8d01594f0435db138",
"contract": "cfxtest:acbk50byfusjyh7494rm8yd8xhnkdh9jyetgadzem4",
"nftid": "6",
"codestr": "123456",
"chaintype": "cfx"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testnet.jugugu.cn/Jugugu_FastGetNFT' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "10101010101",
"account": "31c681bcb34c1457ab5b1521c340468ce106dfc6592bac55fb68f76994130d66",
"secret": "8d0f0b25c236af70c4980bea261b154745ccfba25e5683ef100a9e05b0922e88",
"time": 1652446989,
"openid": "951",
"token": "da1c75bd8ad31cb27aca098eade94848b2fad98fc28ff9a8d01594f0435db138",
"contract": "cfxtest:acbk50byfusjyh7494rm8yd8xhnkdh9jyetgadzem4",
"nftid": "6",
"codestr": "123456",
"chaintype": "cfx"
}'
返回响应
🟢200成功
application/json
Body
state
string
是否成功
msg
string
提示信息
示例
Login Token Err
修改于 2022-05-16 08:17:18