File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -NoProxy -Uri "http:
4343#### [ Linux] ( #tab/linux/ )
4444
4545``` bash
46- curl -s Metadata:true --noproxy " *" " http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq
46+ curl -s -H Metadata:true --noproxy " *" " http://169.254.169.254/metadata/instance?api-version=2021-02-01" | jq
4747```
4848
4949The ` jq ` utility is available in many cases, but not all. If the ` jq ` utility is missing, use ` | python -m json.tool ` instead.
@@ -203,7 +203,7 @@ Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -NoProxy -Uri "http:
203203#### [ Linux] ( #tab/linux/ )
204204
205205``` bash
206- curl -s Metadata:true --noproxy " *" " http://169.254.169.254/metadata/instance?api-version=2017-08-01&format=text"
206+ curl -s -H Metadata:true --noproxy " *" " http://169.254.169.254/metadata/instance?api-version=2017-08-01&format=text"
207207```
208208
209209---
You can’t perform that action at this time.
0 commit comments