jinhai-2012 commited on
Commit
db87136
·
1 Parent(s): a722151

Fix example in doc (#4133)

Browse files

### What problem does this PR solve?

Fix example in doc

### Type of change

- [x] Documentation Update

Signed-off-by: Jin Hai <[email protected]>

docs/references/http_api_reference.md CHANGED
@@ -415,7 +415,7 @@ Uploads documents to a specified dataset.
415
  curl --request POST \
416
  --url http://{address}/api/v1/datasets/{dataset_id}/documents \
417
  --header 'Content-Type: multipart/form-data' \
418
- --header 'Authorization: Bearer <YOUR_API_KEY>' \
419
  --form 'file=@./test1.txt' \
420
  --form 'file=@./test2.pdf'
421
  ```
 
415
  curl --request POST \
416
  --url http://{address}/api/v1/datasets/{dataset_id}/documents \
417
  --header 'Content-Type: multipart/form-data' \
418
+ --header 'Authorization: Bearer <YOUR_API_KEY>' \
419
  --form 'file=@./test1.txt' \
420
  --form 'file=@./test2.pdf'
421
  ```