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/event-grid/receive-events.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -381,7 +381,7 @@ Finally, test that your function can now handle your custom event type:
381
381
}]
382
382
```
383
383
384
-
You can also test this functionality live by [sending a custom event with CURL from the Portal](./custom-event-quickstart-portal.md) or by [posting to a custom topic](./post-to-custom-topic.md)using any service or application that can POST to an endpoint such as [Postman](https://www.getpostman.com/). Create a custom topic and an event subscription with the endpoint set as the Function URL.
384
+
You can also test this functionality live by [sending a custom event with CURL from the Portal](./custom-event-quickstart-portal.md) or by [posting to a custom topic](./post-to-custom-topic.md) using any service or application that can POST to an endpoint. Create a custom topic and an event subscription with the endpoint set as the Function URL.
During event subscription creation, if you're seeing an error message such as `The attempt to validate the provided endpoint https://your-endpoint-here failed. For more details, visit https://aka.ms/esvalidation`, it indicates that there's a failure in the validation handshake. To resolve this error, verify the following aspects:
10
10
11
-
- Do an HTTP POST to your webhook url with a [sample SubscriptionValidationEvent](webhook-event-delivery.md#validation-details) request body using Postman or curl or similar tool.
11
+
- Do an HTTP POST to your webhook url with a [sample SubscriptionValidationEvent](webhook-event-delivery.md#validation-details) request body using curl or similar tool.
12
12
- If your webhook is implementing synchronous validation handshake mechanism, verify that the ValidationCode is returned as part of the response.
13
13
- If your webhook is implementing asynchronous validation handshake mechanism, verify that you're the HTTP POST is returning 200 OK.
14
14
- If your webhook is returning `403 (Forbidden)` in the response, check if your webhook is behind an Azure Application Gateway or Web Application Firewall. If it is, then your need to disable these firewall rules and do an HTTP POST again:
@@ -21,14 +21,7 @@ During event subscription creation, if you're seeing an error message such as `T
21
21
> [!IMPORTANT]
22
22
> For detailed information on endpoint validation for webhooks, see [Webhook event delivery](webhook-event-delivery.md).
23
23
24
-
The following sections show you how to validate an event subscriptions using Postman and Curl.
25
-
26
-
## Validate Event Grid event subscription using Postman
27
-
Here's an example of using Postman for validating a webhook subscription of an Event Grid event:
28
-
29
-

30
-
31
-
Here is a sample **SubscriptionValidationEvent** JSON:
24
+
Here is a sample **SubscriptionValidationEvent** JSON you can send using a tool such as CURL:
32
25
33
26
```json
34
27
[
@@ -55,8 +48,6 @@ Here is the sample successful response:
55
48
}
56
49
```
57
50
58
-
To learn more about Event Grid event validation for webhooks, see [Endpoint validation with event grid events](webhook-event-delivery.md#endpoint-validation-with-event-grid-events).
59
-
60
51
61
52
## Validate Event Grid event subscription using Curl
62
53
Here's the sample Curl command for validating a webhook subscription of an Event Grid event:
@@ -65,11 +56,11 @@ Here's the sample Curl command for validating a webhook subscription of an Event
## Validate cloud event subscription using Postman
69
-
Here's an example of using Postman for validating a webhook subscription of a cloud event:
70
59
71
-

72
60
61
+
To learn more about Event Grid event validation for webhooks, see [Endpoint validation with event grid events](webhook-event-delivery.md#endpoint-validation-with-event-grid-events).
62
+
63
+
## Validate cloud event subscription
73
64
Use the **HTTP OPTIONS** method for validation with cloud events. To learn more about cloud event validation for webhooks, see [Endpoint validation with cloud events](webhook-event-delivery.md#endpoint-validation-with-event-grid-events).
Copy file name to clipboardExpand all lines: articles/stream-analytics/sql-database-upsert.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,7 +233,7 @@ Update the `Device` class and mapping section to match your own schema:
233
233
publicDateTimeTimestamp { get; set; }
234
234
```
235
235
236
-
You can now test the wiring between the local function and the database bydebugging (F5inVisualStudio Code). The SQL database needs to be reachable from your machine. [SSMS](/sql/ssms/sql-server-management-studio-ssms) can be used to check connectivity. Then a tool like [Postman](https://www.postman.com/) can be used to issue POST requests to the local endpoint. A request with an empty body should return http 204. A request with an actual payload should be persisted in the destination table (in replace / update mode). Here's a sample payload corresponding to the schema used in this sample:
236
+
You can now test the wiring between the local function and the database bydebugging (F5inVisualStudio Code). The SQL database needs to be reachable from your machine. [SSMS](/sql/ssms/sql-server-management-studio-ssms) can be used to check connectivity. Then, send POST requests to the local endpoint. A request with an empty body should return http 204. A request with an actual payload should be persisted in the destination table (inreplace / updatemode). Here's a sample payload corresponding to the schema used in this sample:
@@ -359,7 +359,7 @@ Update the `sqltext` command building section to match your own schema (notice h
359
359
$"WHEN NOT MATCHED BY TARGET THEN INSERT (DeviceId, Value, TimeStamp) VALUES (DeviceId, Value, Timestamp);";
360
360
```
361
361
362
-
You can now test the wiring between the local function and the database by debugging (F5 in VS Code). The SQL database needs to be reachable from your machine. [SSMS](/sql/ssms/sql-server-management-studio-ssms) can be used to check connectivity. Then a tool like [Postman](https://www.postman.com/) can be used to issue POST requests to the local endpoint. A request with an empty body should return http 204. A request with an actual payload should be persisted in the destination table (in accumulate / merge mode). Here's a sample payload corresponding to the schema used in this sample:
362
+
You can now test the wiring between the local function and the database by debugging (F5 in VS Code). The SQL database needs to be reachable from your machine. [SSMS](/sql/ssms/sql-server-management-studio-ssms) can be used to check connectivity. Then, issue POST requests to the local endpoint. A request with an empty body should return http 204. A request with an actual payload should be persisted in the destination table (in accumulate / merge mode). Here's a sample payload corresponding to the schema used in this sample:
0 commit comments