Generating the X-SAJ-Signature
To ensure authenticity, Snagajob requires that you generate a signature and provide it within the header of your requests. (X-SAJ-Signature
)
The X-SAJ-Signature
is generated using composed of six values:
requestBody
requestVerb
requestPath
requestQuery
apiSecret
dateHeader
(RFC1123 format)
The following code samples show how you can generate a valid signature:
The output of the values listed in the code samples should return a signature equal to:5hY9zBIziUhrAqfEIfSsQB4HddU=
Testing your signature
You can use this route to validate your authentication:
Last updated
Was this helpful?