Webhooks with GET requests: Difference between revisions
From Planfix
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
*The first step is to select the type of request that will be used in the link. Let's specify a GET request: | *The first step is to select the type of request that will be used in the link. Let's specify a GET request: | ||
https://s.pfx.so/pf/ue/2edrHf.png | |||
*Webhook links contain a unique code, but we can replace it as needed with something more informative: | |||
https://s.pfx.so/pf/VM/GXCOlX.png | |||
*In the next step, we add parameters to the webhook. These parameters will store the values that are sent to Planfix. In the example, we're sending the project and task names: |
Revision as of 13:54, 13 September 2022
In order to understand how webhooks with GET requests work, let's put together a link that will create new tasks in Planfix.
Sample webhook:
https:///your_account.planfix.ru/webhook/get/create_task?project=project&name=taskname
- The first step is to select the type of request that will be used in the link. Let's specify a GET request:
- Webhook links contain a unique code, but we can replace it as needed with something more informative:
- In the next step, we add parameters to the webhook. These parameters will store the values that are sent to Planfix. In the example, we're sending the project and task names: