Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: HTTPS

Listing Products With API Key

Request:

GET httphttps://api.staging.milkbooks.com/products HTTP/1.1
Content-Type: application/json
Accept: application/json
X-MILK-Api-Key: 12345678-1234-1234-1234-123456789012
Host: api.staging.milkbooks.com
Content-Length: 0

...

Listing Products with an Application Token

Request:

GET httphttps://api.staging.milkbooks.com/products HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhcHBsaWNhdGlvbi5leGFtcGxlLmNvbSIsImF1ZCI6ImFwaS5zdGFnaW5nLm1pbGtib29rcy5jb20iLCJleHAiOjE1MzE3ODcyODcsInR5cCI6IkpXVCJ9.v60NYIgqufZWgOVk2PaAZxKjQpIaRrwxdwWHb68n0Hk
Host: api.staging.milkbooks.com
Content-Length: 0

...