Skip to content

Commit e7e0b71

Browse files
committed
fix commands
1 parent fe1021d commit e7e0b71

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • discovery-data/webhook-enrichment-sample/slate/wml-as-webhook

discovery-data/webhook-enrichment-sample/slate/wml-as-webhook/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
```
7979
4. Create a collection in the project and apply the webhook enrichment to the collection.

0 commit comments

Comments
 (0)