I have a service that passes a JSON as the body, but then I need a verification hash structured with some parameters from the body as the header or in the same body (!).
For example.
this is the body:
{
"apiKey": "${[ API_KEY ]}",
"code": "XXXX",
"channel": "All",
"timestamp": "${[ timestamp.unix() ]}",
"mac": “…"
}with the “mac” code composed as follows
hash.sha1(“apiKey=APIKEY&code=CODE&channel=CHANNEL×tamp=TIMESTAMP&secret=SECRET“)it would therefore be convenient to have something similar
hash.sha1("apiKey=request.body.path("apiKey")&code=request.body.path("code")&channel=request.body.path("channel")×tamp=request.body.path("timestamp")&secret=SECRET")Please authenticate to join the conversation.
Released
Feedback
Feature
7 months ago

Ramin Banihashemi
Get notified by email when there are changes.
Released
Feedback
Feature
7 months ago

Ramin Banihashemi
Get notified by email when there are changes.