Editar

Partilhar via


Test WebHook registration with request logging site

Before you create or configure a service to consume Webhooks, you should test what kind of data the service will receive so that you can know what kind of data you will need to process. For this purpose, you can use one of several request logging sites. For the purpose of this example, we will use WebHook Tester to configure a target for the WebHook requests.

Use the following steps:

  1. Go to https://WebHook.site. In the top right-hand corner you will see a green Copy button. WebHook Tester copy button.

  2. Use the Copy button to copy the URL. Keep this page open.

  3. Use the Plug-in Registration tool to register a new WebHook as described in Register a WebHook.

    1. Use the URL you copied in step 2 as the Endpoint URL.
    2. Set a name and any authentication properties you want. WebHook Tester will not evaluate these values in the way that an actual site that will process the data should, but you can see how they will be passed through.
  4. Use the Plug-in Registration tool to register a step using the WebHook you created in step 4 as described in Register a step for a WebHook.

    1. Make sure to use an event that you can easily perform by editing data in the Microsoft Dataverse application, such as updating a contact table.
  5. Use the Dataverse app to perform the operation to trigger the event.

  6. After you trigger the event, return to the WebHook Tester page from step 2. You should see that the page has been updated to show the data passed in the request:

    An example of the request logged on the WebHook Tester web site.

    Tip

    Use the Format JSON option to make the JSON returned in the body of the request easier to read.

Next steps

Use Webhooks to create external handlers for server events

See also

Register a WebHook