From 667e18f8bec2dd86d55784a8c18ee2334c2a4501 Mon Sep 17 00:00:00 2001 From: sylviamoss Date: Tue, 17 May 2022 20:11:26 +0200 Subject: [PATCH] fix docs --- website/content/docs/datasources/http.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/content/docs/datasources/http.mdx b/website/content/docs/datasources/http.mdx index e5140f9fb..12903eb5d 100644 --- a/website/content/docs/datasources/http.mdx +++ b/website/content/docs/datasources/http.mdx @@ -1,6 +1,6 @@ --- description: | - The http Data Source retrieves information from an http endpoint to be used + The HTTP Data Source retrieves information from an http endpoint to be used during Packer builds page_title: Http - Data Sources --- @@ -19,7 +19,7 @@ The `http` data source makes an HTTP GET request to the given URL and exports in ## Basic Example -```hcl +```hcl data "http" "example" { url = "https://checkpoint-api.hashicorp.com/v1/check/terraform" @@ -28,6 +28,7 @@ data "http" "example" { Accept = "application/json" } } +``` ## Configuration Reference