You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/event-grid/local-testing-event-grid.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Test your Event Grid handler locally
3
3
titleSuffix: An Azure Communication Services how-to document
4
-
description: "In this how-to document, you can learn how to locally test your Event Grid handler for Azure Communication Services events with Postman"
4
+
description: In this how-to document, you can learn how to locally test your Event Grid handler for Azure Communication Services events with Postman.
5
5
author: ddematheu2
6
6
manager: shahen
7
7
services: azure-communication-services
@@ -32,7 +32,7 @@ ngrok http 7071
32
32
33
33
1. Open Postman and create a new request.
34
34
35
-

35
+

36
36
37
37
2. Select the `POST` method.
38
38
@@ -68,10 +68,10 @@ ngrok http 7071
68
68
- `Content-Type`: `application/json`
69
69
- `aeg-event-type`: `Notification`
70
70
71
-

71
+

72
72
73
73
6. Select the `Send` button to trigger the event.
74
74
75
-

75
+

76
76
77
77
At this point, an event should trigger in your Azure Function. You can verify the event by looking at the execution of your Azure Function. You can then validate that the function is doing its job correctly.
As developers are getting started with Azure Communication Services, they often want to validate that their events are being sent by their resource. This document shows you how to validate that your events are being sent by your Azure Communication Services resource using Azure Event Grid viewer or RequestBin.
16
+
This document shows you how to validate that your Azure Communication Services resource sends events using Azure Event Grid viewer or RequestBin.
17
17
18
18
## Pre-requisites
19
19
@@ -23,9 +23,9 @@ As developers are getting started with Azure Communication Services, they often
23
23
24
24
If you already have an Azure Event Grid viewer deployed or would like to have a more robust viewer in place, you can follow instructions to [deploy it](/samples/azure-samples/azure-event-grid-viewer/azure-event-grid-viewer/). You need the endpoint generated by the Event Grid viewer.
25
25
26
-
Alternatively, if you want a quick and easy way to validate your events, you can use [RequestBin](https://requestbin.com/). RequestBin offers two modalities to pick from. If you want to quickly test your events, you can use the [public endpoint](https://requestbin.com/r)set up. This public endpoints makes event data accessible to anyone with a URL. If you prefer to keep it private, you can create a RequestBin account and create a private endpoint. See RequestBin for more information about[public vs private endpoints](https://requestbin.com/docs/#public-vs-private-endpoints).
26
+
Alternatively, if you want a quick and easy way to validate your events, you can use [RequestBin](https://requestbin.com/). RequestBin offers two modalities to pick from. If you want to quickly test your events, you can use the [public endpoint](https://requestbin.com/r)setup. These public endpoints make event data accessible to anyone with a URL. If you prefer to keep it private, you can create a RequestBin account and create a private endpoint. For more information, see RequestBin[public vs private endpoints](https://requestbin.com/docs/#public-vs-private-endpoints).
27
27
28
-

28
+

29
29
30
30
The next steps are the same for both options.
31
31
@@ -43,7 +43,7 @@ The next steps are the same for both options.
43
43
44
44
2. (Optional, only if using RequestBin) You need to copy the `validationURL` on the first event the gets posted to your endpoint. You need to paste that URL on your browser to validate the endpoint. The page should saw 'Webhook successfully validated as a subscription endpoint'.
45
45
46
-

46
+

0 commit comments