This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hi, I have a resource file of type Javascript, defined at the
environment level. I want to create a shared flow which will be capable
of reading this resource file (which contains a configuration) and
process it using some javascript code. How can I ...
Having this piece of code,
hmac.computed_base64
{hmacSha256(private.hmacSecretKey,hmac.stringToSign,'utf-8','base64')}
how can i get this base64URL encoded, and not simple
base64 encoded?
any ideas if I can define my own message template function? i am having
the following code, defined for a HMAC signature calculator.
hmac.stringToSign
{request.header.X-Request-DB-ID}:{encodeBase64(sha256Hex(request.content))}
I would like to use a...
I am trying to use a message template to set a header to a date that is
in RFC 1123 format, e.g."Tue, 15 Feb 20222 10:01:45 GMT" . I looked at
the timeformat function, but the examples on the Apigee doc are pretty
simple ones. I've trying the followi...
I used the first approach
configStr
jsc://resourcename.json
and the variable configStr is storing a text string. I
used JSON.parse to obtain the JSON object. configuration =
JSON.parse(configStr)
Thank you for sharing this, @tyayers ! We implemented something
similar:- decodeJWT- based on the issuer, set some variables - invoke
the JWT Verification with he variables defined above.
Thank you @dchiesa1. I guess the problem was that I was trying to do it
directly, without defining the time format in a variable.
formattedTime
{timeFormatUTCMs('EEE dd MMM yyyy HH:mm:ss
zzz',system.timestamp)} retested again and
saw that this was ...