Terminal
curl --request PUT \
--url '<YOUR_PRESIGNED_URL>' \
--header 'Content-Type: application/jsonl' \
--data-binary '@your_input_file.jsonl'Batch Search
Upload Your Input File
Now that you have created your batch job, use the presigned_url to upload your .jsonl file directly to the designated storage location using the following command:
curl --request PUT \
--url '<YOUR_PRESIGNED_URL>' \
--header 'Content-Type: application/jsonl' \
--data-binary '@your_input_file.jsonl'
Replace <YOUR_PRESIGNED_URL> with the presigned_url and @your_input_file.jsonl with the path to your actual file.
The presigned_url is a signed link on batch-search.bigdata.com. Use it exactly as returned, because the query parameters carry the signature. If your company uses a firewall, allow batch-search.bigdata.com on port 443 (see Domains to whitelist).
For a step-by-step walkthrough, see the Batch Search how-to guide.
Terminal
curl --request PUT \
--url '<YOUR_PRESIGNED_URL>' \
--header 'Content-Type: application/jsonl' \
--data-binary '@your_input_file.jsonl'Response
200
S3 returns 200 OK
Was this page helpful?