Skip to content

Commit dd6e602

Browse files
authored
add token to curl examples (github#28357)
1 parent 6512dbd commit dd6e602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lib/get-rest-code-samples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function getShellExample(operation: Operation, codeSample: CodeSample) {
4242

4343
const args = [
4444
operation.verb !== 'get' && `-X ${operation.verb.toUpperCase()}`,
45-
`-H "Accept: ${defaultAcceptHeader}" \\ \n -H "Authorization: <TOKEN>"`,
45+
`-H "Accept: ${defaultAcceptHeader}" \\ \n -H "Authorization: token <TOKEN>"`,
4646
`${operation.serverUrl}${requestPath}`,
4747
requestBodyParams,
4848
].filter(Boolean)

0 commit comments

Comments
 (0)