Skip to content

Closing curly bracket missing on App Search Doc #20

@gaoruifeng

Description

@gaoruifeng

Curly bracket is missing in this example: https://www.elastic.co/guide/en/app-search/current/web-crawler-api-reference.html#_examples_22
there should be a closing curly bracket after line "password": "password"

curl \
--request "PUT" \
--url "${ENTERPRISE_SEARCH_BASE_URL}/api/as/v1/engines/${ENGINE_NAME}/crawler/domains/{DOMAIN_ID}" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${TOKEN}" \
--data '{
  "name": "https://www.elastic.co",
  "auth": "{
    "type": "basic",
    "username": "username",
    "password": "password"
}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions