File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -159,10 +159,9 @@ identify and verify the request. The most important headers are:
159
159
160
160
To verify the authenticity of the webhook payloads, you can use the ` X-Plane-Signature ` header.
161
161
This header contains an HMAC SHA-256 signature of the payload, generated using the secret key
162
- you received when creating the webhook. If the signature matches the expected signature, you can be confident that the payload
163
- was sent by Plane and has not been tampered with.
164
-
165
- Here's how to verify the payload signature in Python:
162
+ you received when creating the webhook. If the signature in the header matches
163
+ the HMAC SHA-256 hash of the incoming payload and your secret, you can be
164
+ confident that the payload was sent by Plane and has not been tampered with.
166
165
167
166
import Tabs from ' @theme/Tabs' ;
168
167
import TabItem from ' @theme/TabItem' ;
You can’t perform that action at this time.
0 commit comments