Just published a new module for doing signed HTTP requests for #ActivityPub in #JavaScript for #NodeJS
This wraps over the `fetch` API that's typically used in browsers but is now available in node.
https://github.com/RangerMauve/http-signed-fetch
This also handles generating digests for your request body and adding in expected headers like Host and Date.
Also has a useful function for generating new keypairs and an example structure for your Actor object.
Escape ship from centralized social media run by Mauve.
This also handles generating digests for your request body and adding in expected headers like Host and Date.
Also has a useful function for generating new keypairs and an example structure for your Actor object.