diff --git a/_includes/build/best_practices_download_speed.html b/_includes/build/best_practices_download_speed.html index 8b583f2..cfb00a2 100644 --- a/_includes/build/best_practices_download_speed.html +++ b/_includes/build/best_practices_download_speed.html @@ -4,7 +4,7 @@

- Requesting compressed data can help increase your download speed. You can request compressed data files by specifying the `Accept-Encoding: gzip` header in your download requests. + Requesting compressed data can help increase your download speed. You can request compressed data files by specifying the `Accept-Encoding: gzip` header in your download requests. Note that the file downloaded will be a gzip file which you will need to extract into its ndjson format.

@@ -12,7 +12,8 @@

curl "{output_url}" \
 	-H "Authorization: Bearer {access_token}" \
-	-H "Accept-Encoding: gzip"
+	-H "Accept-Encoding: gzip" \
+	--output "your-file-name"
 

diff --git a/_includes/build/requesting_data_all_three.html b/_includes/build/requesting_data_all_three.html index ec0e45d..c353495 100644 --- a/_includes/build/requesting_data_all_three.html +++ b/_includes/build/requesting_data_all_three.html @@ -144,7 +144,8 @@

Request Headers

cURL Command to download the data

curl -X GET "{output_url}" \
 	-H "Accept-Encoding: gzip" \
-	-H "Authorization: Bearer {access_token}"
+ -H "Authorization: Bearer {access_token}" \ + --output "your-file-name"

Response Example

@@ -173,7 +174,7 @@

Files expire after 24 hours.

- The "Accept-Encoding: gzip" header is optional, but will return a significantly smaller (about 30X smaller) file with a faster download speed. Follow our recommended best practices for speeding up downloads. + The "Accept-Encoding: gzip" header is optional, but will return a significantly smaller (about 30X smaller) file with a faster download speed. Follow our recommended best practices for speeding up downloads. Note that the file downloaded will be a gzip file which you will need to extract into its ndjson format.

The response will be the requested data as FHIR resources in NDJSON format. Each file related to a different resource type will appear separately and labeled as to which resource type it contains. Examples of data from each Resource Type are available in the guide to working with BCDA data. diff --git a/_includes/guide/try_the_api.html b/_includes/guide/try_the_api.html index 30fcf26..5ed16c4 100644 --- a/_includes/guide/try_the_api.html +++ b/_includes/guide/try_the_api.html @@ -203,7 +203,8 @@

curl "{output_url}" \
 	-H "Authorization: Bearer {access_token}" \
-	-H "Accept-Encoding: gzip"
+	-H "Accept-Encoding: gzip" \
+	--output "your-file-name"
 

Response Example after Downloading the Data