b. Manually create the request header
app-id
, time-stamp
, and app-sign
.Friendess
demo does not cover the language you use, or you want to generate the request header yourself, follow the steps below:1 Generate appSign based on appId, appSecret, and timestamp
timeStamp
(the timestamp must be within ten minutes before and after the call time).Create appSign by DIRECTLY concatenating
appId
, appSecret
and timeStamp
, then apply MD5 hashing to the whole string2 nsert the information mentioned above into the API call request header
{
"app-id": "op18725d72811234d2", // Copy the obtained appId
"time-stamp": 1680592492719, // The timeStamp used when generating the appSign just nowtimeStamp
"app-sign": "c227fc9d75471a36e3dee7bd4cc8630e" // The recently generated appSign
}
Modified at 2024-08-12 09:44:49