File tree Expand file tree Collapse file tree
discovery-data/webhook-enrichment-sample/slate/wml-as-webhook Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,16 +64,16 @@ SCORING_API_TOKEN=$(
6464 ``` bash
6565 curl -X POST {auth} \
6666 --header ' Content-Type: multipart/form-data' \
67- --form ' enrichment={"name":"my-first-webhook-enrichment", \
68- "type":"webhook", \
69- "options":{"url":"{your_code_engine_app_domain}/webhook", \
70- "headers":[
67+ --form ' enrichment={"name":"my-first-webhook-enrichment",
68+ "type":"webhook",
69+ "options":{"url":"{your_code_engine_app_domain}/webhook",
70+ "headers":[
7171 {
7272 "name": "Authorization",
7373 "value": "Bearer {SCORING_API_TOKEN}"
7474 }
75- ], \
76- "location_encoding":"utf-32"}}' \
75+ ],
76+ "location_encoding":"utf-32"}}' \
7777 ' {url}/v2/projects/{project_id}/enrichments?version=2023-03-31'
7878 ```
79794 . Create a collection in the project and apply the webhook enrichment to the collection.
You can’t perform that action at this time.
0 commit comments