Skip to content

Commit

Permalink
fix: unecessary boundary for upload request
Browse files Browse the repository at this point in the history
  • Loading branch information
glaucia86 committed Mar 27, 2024
1 parent 5aec1c1 commit 2d4cc07
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/api/api.http
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Content-Type: application/json
"question": "How to Search and Book Rentals?"
}


### Upload PDF Document
POST {{api_host}}/api/upload
Accept: */*
Expand All @@ -24,13 +23,6 @@ Content-Disposition: form-data; name="file"; filename="test.pdf"
Content-Type: application/pdf

< ../../data/support.pdf
--Boundary
Content-Disposition: form-data; name="options"

{
"category": "test-category",
"wait": true,
"useVectors": true
}
--Boundary--


0 comments on commit 2d4cc07

Please sign in to comment.