SHA Authentication for HTTPS Request

#1

Hi

I have been trying to make a POST call which requires one of the headers to be a signature based on SHA512 authentication. crypto-js/sha512 method does the work in node.js. I don’t know how to do the same in Flow XO. I am trying to use the Code to generate this signature probably using utils.request and pass the same to the header of HTTP request. Can someone help here?

(Daniel Beckett) #2

Hi @saurabhg

Unfortunately I don’t think this would be possible as from what I know you’d need the crypto methods from the utils object which isn’t exposed in the code service on Flow XO.

#3

I sensed that so I used a HTTP request to an endpoint that returns the encrypted message. Thanks for your response.