Hello,
When setting up custom authentication to a REST API, there is the ability to "Define a variable". In the example text of "Value of the variable" there is the text "{{ http1.body.auth_token }}". Can anyone tell me what the object "http1" is? What properties does it have? I would specifically like to access the request method and request path. I am assuming that "http1" is the request object before the request has been made. Is this correct?
I am working with an API that requires me to create a SHA265 signature of the request body, current timestamp and a secret before sending the request. I am hoping I can do this by defining a variable that calculates this signature in the custom authentication workflow.
Additionally, it would be great to be able to define a transformer and run it as part of the custom authentication scheme.
Thank you,
FMS