Skip to content

Commit 4538550

Browse files
authored
Fix wrong operation name (deploy -> import)
This sentence is under "Import" API section. So, this should be import, not deploy.
1 parent fa4078e commit 4538550

File tree

1 file changed

+2
-2
lines changed
  • articles/cognitive-services/language-service/question-answering/how-to

1 file changed

+2
-2
lines changed

articles/cognitive-services/language-service/question-answering/how-to/authoring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ curl -X POST -H "Ocp-Apim-Subscription-Key: {API-KEY}" -H "Content-Type: applica
479479
}' -i 'https://{ENDPOINT}.api.cognitive.microsoft.com/language/query-knowledgebases/projects/{PROJECT-NAME}/:import?api-version=2021-10-01&format=tsv'
480480
```
481481

482-
A successful call to deploy a project results in an `Operation-Location` header being returned, which can be used to check the status of the import job. In many of our examples, we haven't needed to look at the response headers and thus haven't been displaying them. To retrieve the response headers our curl command uses `-i`. Without this additional parameter prior to the endpoint address, the response to this command would appear empty as if no response occurred.
482+
A successful call to import a project results in an `Operation-Location` header being returned, which can be used to check the status of the import job. In many of our examples, we haven't needed to look at the response headers and thus haven't been displaying them. To retrieve the response headers our curl command uses `-i`. Without this additional parameter prior to the endpoint address, the response to this command would appear empty as if no response occurred.
483483

484484
### Example response
485485

@@ -807,4 +807,4 @@ apim-request-id: 92225e03-e83f-4c7f-b35a-223b1b0f29dd
807807
strict-transport-security: max-age=31536000; includeSubDomains; preload
808808
x-content-type-options: nosniff
809809
date: Wed, 24 Nov 2021 04:02:56 GMT
810-
```
810+
```

0 commit comments

Comments
 (0)