Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1234a57

Browse files
committed
use quotes around curls with more than 1 query param
1 parentaa413ca commit1234a57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎content/v3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ are not websites.
219219
###OAuth2 Key/Secret
220220

221221
<preclass="terminal">
222-
$ curl https://api.github.com/users/whatever?client_id=xxxx&client_secret=yyyy
222+
$ curl'https://api.github.com/users/whatever?client_id=xxxx&client_secret=yyyy'
223223
</pre>
224224

225225
This should only be used in server to server scenarios. Don't leak your
@@ -289,7 +289,7 @@ Note that for technical reasons not all endpoints respect the `?per_page` parame
289289
see[events](http://developer.github.com/v3/activity/events/) for example.
290290

291291
<preclass="terminal">
292-
$ curl https://api.github.com/user/repos?page=2&per_page=100
292+
$ curl'https://api.github.com/user/repos?page=2&per_page=100'
293293
</pre>
294294

295295
Note that page numbering is 1-based and that omitting the`?page`
@@ -382,7 +382,7 @@ associated with your OAuth application, you can send over your client ID and
382382
secret in the query string.
383383

384384
<preclass="terminal">
385-
$ curl -i https://api.github.com/users/whatever?client_id=xxxxxxxxxxxxxx&client_secret=yyyyyyyyyyyyyyyyyyyyy
385+
$ curl -i'https://api.github.com/users/whatever?client_id=xxxx&client_secret=yyyy'
386386

387387
HTTP/1.1 200 OK
388388
Date: Mon, 01 Jul 2013 17:27:06 GMT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp