Skip to content

Commit e34271f

Browse files
authored
Update rest-api.md
1 parent 998be06 commit e34271f

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-services/document-intelligence/how-to-guides/includes/v2-1

1 file changed

+1
-1
lines changed

articles/ai-services/document-intelligence/how-to-guides/includes/v2-1/rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ Before you run the command, make these changes:
758758
1. Replace *\<key>* with your key.
759759

760760
```console
761-
curl -v -i POST https://<endpoint>/formrecognizer/v2.1/prebuilt/invoice/analyze" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <key>" --data-ascii "{​​​​​​​'source': '<your invoice URL>'}​​​​​​​​"
761+
curl -v -i POST https://<endpoint>/formrecognizer/v2.1/prebuilt/invoice/analyze" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <key>" --data-ascii "{​​​​​​​'urlSource': '<your invoice URL>'}​​​​​​​​"
762762
```
763763

764764
You receive a `202 (Success)` response that includes an `Operation-Location` header. The value of this header contains a result ID that you can use to query the status of the asynchronous operation and get the results:

0 commit comments

Comments
 (0)