Skip to content

Commit 566551a

Browse files
committed
Fixed JSON capitalization
1 parent 19c71bf commit 566551a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/content/docs/learning-paths/secure-internet-traffic/build-dns-policies/create-list.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following DNS policy will allow access to all approved corporate domains inc
2424
```sh
2525
curl --request POST \
2626
--url https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rules \
27-
--header 'Content-Type: application/json' \
27+
--header 'Content-Type: application/JSON' \
2828
--header "Authorization: Bearer <API TOKEN>" \
2929
--data '{
3030
"name": "All-DNS-CorporateDomain-AllowList",

src/content/docs/learning-paths/secure-internet-traffic/build-dns-policies/create-policy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To create a new DNS policy using **cURL**:
3333
```sh
3434
curl --request POST \
3535
--url https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rules \
36-
--header 'Content-Type: application/json' \
36+
--header 'Content-Type: application/JSON' \
3737
--header "Authorization: Bearer <API_TOKEN>" \
3838
--data '{
3939
"name": "All-DNS-SecurityCategories-Blocklist",

src/content/docs/learning-paths/secure-internet-traffic/build-dns-policies/recommended-dns-policies.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Allowlist any known domains and hostnames. With this policy, you ensure that you
2424
```sh
2525
curl --request POST \
2626
--url https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rules \
27-
--header 'Content-Type: application/json' \
27+
--header 'Content-Type: application/JSON' \
2828
--header "Authorization: Bearer <API TOKEN>" \
2929
--data '{
3030
"name": "All-DNS-Domain-Allowlist",

0 commit comments

Comments
 (0)