Skip to content

Commit df78c31

Browse files
Merge pull request #3722 from laujan/patch-4
Update rest-api.md
2 parents 2817a42 + a003102 commit df78c31

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: laujan
55
manager: nitinme
66
ms.service: azure-ai-document-intelligence
77
ms.topic: include
8-
ms.date: 11/19/2024
8+
ms.date: 03/25/2025
99
ms.author: lajanuar
1010
---
1111
<!-- markdownlint-disable MD001 -->
@@ -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)