Fix example in doc (#4133)
### What problem does this PR solve? Fix example in doc ### Type of change - [x] Documentation Update Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
parent
e38e3bcc3b
commit
10a62115c7
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ Uploads documents to a specified dataset.
|
||||||
curl --request POST \
|
curl --request POST \
|
||||||
--url http://{address}/api/v1/datasets/{dataset_id}/documents \
|
--url http://{address}/api/v1/datasets/{dataset_id}/documents \
|
||||||
--header 'Content-Type: multipart/form-data' \
|
--header 'Content-Type: multipart/form-data' \
|
||||||
--header 'Authorization: Bearer <YOUR_API_KEY>' \
|
--header 'Authorization: Bearer <YOUR_API_KEY>' \
|
||||||
--form 'file=@./test1.txt' \
|
--form 'file=@./test1.txt' \
|
||||||
--form 'file=@./test2.pdf'
|
--form 'file=@./test2.pdf'
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue