报文创建的日期和时间(格林尼治标准时间,而不是本地时间),例如:Date: Wed, 21 Oct 2022 07:28:00 GMT。这个时间上下误差不能超过5分钟,否则会报错。
我方给的appid
string s = access_key + '\n' + appid + '\n' + date
string t = base64(hmac_sha1(secret_key, s)),
string Authorization = "Basic " + t
{ "order_id":1000012388, "applicant_id":34736, "material_zip_url":"https://devo.666visa.cn/tmp/在线办理-日本短期签-广东领区-复制10552-资料模板.zip" }
curl --location --request POST 'https://dapi.visageniusglobal.com/openvisa/applicant_material_update' \ --header 'X-Date: ' \ --header 'X-Appid: ' \ --header 'Authorization: ' \ --header 'Content-Type: application/json' \ --data-raw '{ "order_id":1000012388, "applicant_id":34736, "material_zip_url":"https://devo.666visa.cn/tmp/在线办理-日本短期签-广东领区-复制10552-资料模板.zip" }'
{ "ret": -1, "msg": "当前申请人不支持更新资料" }