From e7e0b71fbb0cd41c6cca9702d4212a164ce609f0 Mon Sep 17 00:00:00 2001 From: Hiroya Matsubara Date: Thu, 30 Nov 2023 14:19:22 +0900 Subject: [PATCH] fix commands --- .../slate/wml-as-webhook/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/discovery-data/webhook-enrichment-sample/slate/wml-as-webhook/README.md b/discovery-data/webhook-enrichment-sample/slate/wml-as-webhook/README.md index 8d7bff6..7aa2580 100644 --- a/discovery-data/webhook-enrichment-sample/slate/wml-as-webhook/README.md +++ b/discovery-data/webhook-enrichment-sample/slate/wml-as-webhook/README.md @@ -64,16 +64,16 @@ SCORING_API_TOKEN=$( ```bash curl -X POST {auth} \ --header 'Content-Type: multipart/form-data' \ - --form 'enrichment={"name":"my-first-webhook-enrichment", \ - "type":"webhook", \ - "options":{"url":"{your_code_engine_app_domain}/webhook", \ - "headers":[ + --form 'enrichment={"name":"my-first-webhook-enrichment", + "type":"webhook", + "options":{"url":"{your_code_engine_app_domain}/webhook", + "headers":[ { "name": "Authorization", "value": "Bearer {SCORING_API_TOKEN}" } - ], \ - "location_encoding":"utf-32"}}' \ + ], + "location_encoding":"utf-32"}}' \ '{url}/v2/projects/{project_id}/enrichments?version=2023-03-31' ``` 4. Create a collection in the project and apply the webhook enrichment to the collection.