TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityJaqRpCloudRealnameCheckRequest req = new AlibabaSecurityJaqRpCloudRealnameCheckRequest();
req.setVerifyToken("96203ef1639346d6a9ea752c7a41cb68");
req.setName("李三");
req.setIdentityCode("604193198909090099");
req.setImageUrlsString("{\"key\":\"value\"}");
AlibabaSecurityJaqRpCloudRealnameCheckResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AlibabaSecurityJaqRpCloudRealnameCheckRequest req = new AlibabaSecurityJaqRpCloudRealnameCheckRequest();
req.VerifyToken = "96203ef1639346d6a9ea752c7a41cb68";
req.Name = "李三";
req.IdentityCode = "604193198909090099";
req.ImageUrls = "{\"key\":\"value\"}";
AlibabaSecurityJaqRpCloudRealnameCheckResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AlibabaSecurityJaqRpCloudRealnameCheckRequest;
$req->setVerifyToken("96203ef1639346d6a9ea752c7a41cb68");
$req->setName("李三");
$req->setIdentityCode("604193198909090099");
$req->setImageUrls("{\"key\":\"value\"}");
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=alibaba.security.jaq.rp.cloud.realname.check' \
-d 'partner_id=apidoc' \
-d 'sign=8C8BF1A04F2C4AF721FC346DE574833A' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-03+21%3A41%3A06' \
-d 'v=2.0' \
-d 'identity_code=604193198909090099' \
-d 'image_urls=%7B%5C%22key%5C%22%3A%5C%22value%5C%22%7D' \
-d 'name=%E6%9D%8E%E4%B8%89' \
-d 'verify_token=96203ef1639346d6a9ea752c7a41cb68'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AlibabaSecurityJaqRpCloudRealnameCheckRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.verify_token="96203ef1639346d6a9ea752c7a41cb68"
req.name="李三"
req.identity_code="604193198909090099"
req.image_urls="{\"key\":\"value\"}"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"alibaba.security.jaq.rp.cloud.realname.check");
add_param(pRequest,"verify_token","96203ef1639346d6a9ea752c7a41cb68");
add_param(pRequest,"name","李三");
add_param(pRequest,"identity_code","604193198909090099");
add_param(pRequest,"image_urls","{\"key\":\"value\"}");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('alibaba.security.jaq.rp.cloud.realname.check', {
'verify_token':'96203ef1639346d6a9ea752c7a41cb68',
'name':'李三',
'identity_code':'604193198909090099',
'image_urls':'{\"key\":\"value\"}'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})