Calculation of dynamic value from request body parameters in Paw

I have methods in my API that need to be signed with a hash of the request parameters. Let's say I have three parameters in my request: "first", "second" and "variable", which is set from an environment variable. I need to add the fourth parameter 'hash', which is equal to MD5 ([first] [second] [variable]):

enter image description here

test_var is equal to 'test_variable'

To do this, I compute MD5 with the Parsed Body parameters, which are read from the current request. I get warnings that these parameters cannot be used due to self-dependency, and this request has an empty body, but MD5 is actually calculated correctly: MD5 (firstParamsecondParamtest_variable) = 09f8669986f4152487da543e12e1e393

enter image description here

, , - :

= firstParam & = secondParam & = test_variable & = d3a0cc12d51633f07820b9d5ff167126

?

+1
1

Paw. , . "" > " ".

Set a link to another part of the request body in Paw

, :

Pash request hash reference

MD5 , ( ).

+2

All Articles