How to sign request object and send request?

357 Views Asked by At

i am using nodejs with node-fetch library to send a requests and node-http-signature package for sign request. Node-fetch has only one method to send request fetch(). How can i create request object, than pass this object to sign() method from node-http-signature package and then send this signed request using fetch() method?

I would be grateful for some sample code.

0

There are 0 best solutions below