Skip to content

Commit

Permalink
fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
hmtbr committed Nov 30, 2023
1 parent fe1021d commit e7e0b71
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e7e0b71

Please sign in to comment.