Forum Discussion

shashank1's avatar
Frequent Visitor
3 years ago

Can't able to consume Rest Api?

Hi Team,

I am facing following error on requesting following api endpoint
curl --include --header "Content-Type: application/json" --header "Authorization: $jwt" --header "zapiAccessKey: $accessKey" '':

Expecting claim 'qsh' to have value '724aec8dcfed52646479d8799f1980fbc8e9577e4ebf973c4099d50c3ce02dec' but instead it has the value '78f03673cac3451279409a22b8faeb61a44534301b45a4044b689f6e5640343d'

I am able to create jwt token by following curl request:

curl -o headers -s -d '{ "accessKey": "'"$accessKey"'" , "secretKey": "'"$secretKey"'" ,"accountId": "'"$accountId"'","zephyrBaseUrl": "'"$zephyrBaseUrl"'","expirationTime":360000}' -H "Content-Type: application/json" -XPOST

I an not sure what I am mistaking , Can you someone guide me in this topic?

No RepliesBe the first to reply