-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
/** | ||
* This is just a simple example of a webhook target that you must implement in order to be able to create it properly with the API. | ||
* The url should respond to https POST requests and has to be accessible by ASANA. | ||
* | ||
* For more information please read the following resources: | ||
* https://asana.com/developers/api-reference/webhooks | ||
* http://resthooks.org/docs/security/ | ||
*/ | ||
header('x-hook-secret: ' . $_SERVER['HTTP_X_HOOK_SECRET']); | ||
echo '200 OK'; |