Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to execute a REST call using tRESTClient.
I used this before, and it works fine, but for this specific service, where the authentication contains a hashed value that expires every 5 minutes.
So I need to have this value created at runtime.
I found the following code that needs to be used to create te hash :
var auth = accountId + ':' + apiKeyId + ':' + (new Date()).getTime();
var authHash = auth + ':' + CryptoJS.SHA512(auth + apiKey).toString(CryptoJS.enc.Hex);
I have the values for accountId,apiKeyId & apiKey
How (and where) do I create 'authHash' value in my job ?
BTW. I'm not a seasoned developer,
thanks for any help.
G.