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
{{ message }}
This repository was archived by the owner on May 5, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/targets/http.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This event target receives [CloudEvents][ce] and turns them into HTTP requests t
6
6
7
7
The HTTP event target sends requests to arbitrary URLs and wraps responses in CloudEvents back to the caller. HTTP endpoints that are unauthenticated, use basic authentication or use custom header values for authentication, can be integrated using this target.
8
8
9
-
Responses from external HTTP endpoints are converted into [CloudEvents][ce] and sent as a reply to the TriggerMesh Broker/Channel. It is important that the HTTP target filters received events and cares about response event type and event source to avoid loops where those responses might end up being processed by the HTTP Target.
9
+
Responses from external HTTP endpoints are converted into CloudEvents and sent as a reply to the TriggerMesh Broker/Channel. It is important that the HTTP target filters received events and cares about response event type and event source to avoid loops where those responses might end up being processed by the HTTP Target.
10
10
11
11
Requests from this HTTP target will verify TLS certificates from the remote server if present. If the CA certificate at the server is self-signed, the public certificate needs to be added to the configuration, or alternatively mark the `Skip Verify` option.
12
12
@@ -31,7 +31,7 @@ Save the target, fill the rest of the bridge components, and press `Submit Bridg
31
31
32
32
## Trigger Configuration
33
33
34
-
Responses from the remote endpoint will generate new [CloudEvents][ce] that will be returned to TriggerMesh. Those response events should not be re-processed by the HTTP Target.
34
+
Responses from the remote endpoint will generate new CloudEvents that will be returned to TriggerMesh. Those response events should not be re-processed by the HTTP Target.
35
35
36
36
It is important that the Trigger that subscribes the HTTP Target to the Broker configure the appropriate filters to avoid these loops.
37
37
@@ -45,9 +45,9 @@ Trigger should be configured to avoid feeding these responses into the HTTP Targ
45
45
46
46
## Events Types
47
47
48
-
The HTTP Target expects a cloud event request that complements the Target configured values.
48
+
The HTTP Target expects a CloudEvent request that complements the Target configured values.
49
49
50
-
There is no requirement regarding the type header value. Any cloud event containing the expected data is valid to process. Data needs to be a JSON structure that might contain these optional fields:
50
+
There is no requirement regarding the type header value. Any CloudEvent containing the expected data is valid to process. Data needs to be a JSON structure that might contain these optional fields:
51
51
52
52
53
53
| Field | Description | Example |
@@ -56,7 +56,7 @@ There is no requirement regarding the type header value. Any cloud event contain
56
56
| path_suffix | Will be appended to the target's path |`apparel/tshirts`|
57
57
| body | String to be set as the request body |`{\"size\":\"L\",\"color\":\"beige\"}`|
0 commit comments