Skip to content

Instantly share code, notes, and snippets.

@rihenperry
Created November 24, 2018 10:12
Show Gist options
  • Save rihenperry/14b27a7499fedd0ff90df2bdb9f4f379 to your computer and use it in GitHub Desktop.
Save rihenperry/14b27a7499fedd0ff90df2bdb9f4f379 to your computer and use it in GitHub Desktop.
using OAuth + digital signatures
POST some/url/
host : hmac.demo.org
Authorization: Signature keyID="my-key-name"
algorithm: "hmac-sha256"
headers: "content-length host date (request-target)",
signature: "j05o2...."
Date: Nov 28th, 2018
Accept: */*
Content-type: application/json
Content-length: 46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment