File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
getting_started/guides/curl Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ endpoints:
56
56
examples :
57
57
curl : |
58
58
curl -H "Content-Type: application/json" \
59
- -H "Authorization: token $TOKEN" \
59
+ -H "Authorization: Bearer $TOKEN" \
60
60
-X POST -d '{
61
61
"label": "a_fancy_new_volume",
62
62
"region": "us-east-1a",
@@ -132,7 +132,7 @@ endpoints:
132
132
examples :
133
133
curl : |
134
134
curl -H "Content-Type: application/json" \
135
- -H "Authorization: token $TOKEN" \
135
+ -H "Authorization: Bearer $TOKEN" \
136
136
-X POST -d '{
137
137
"label": "a_fancy_new_volume",
138
138
"region": "us-east-1a",
@@ -192,7 +192,7 @@ endpoints:
192
192
examples :
193
193
curl : |
194
194
curl -H "Content-Type: application/json" \
195
- -H "Authorization: token $TOKEN" \
195
+ -H "Authorization: Bearer $TOKEN" \
196
196
-X POST -d '{
197
197
"linode_id": 1234
198
198
}'
@@ -236,7 +236,7 @@ endpoints:
236
236
examples :
237
237
curl : |
238
238
curl -H "Content-Type: application/json" \
239
- -H "Authorization: token $TOKEN" \
239
+ -H "Authorization: Bearer $TOKEN" \
240
240
-X POST -d '{
241
241
"size": 2000
242
242
}'
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export default function Introduction(props) {
105
105
requests on the reference page include this header in the curl examples. For example:
106
106
</ p >
107
107
< Code
108
- example = { `curl -H "Authorization: token $token" \\
108
+ example = { `curl -H "Authorization: Bearer $token" \\
109
109
${ API_ROOT } /${ API_VERSION } /linode/instances` }
110
110
name = "bash"
111
111
/>
You can’t perform that action at this time.
0 commit comments