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
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit0d5c2ca

Browse files
committed
Add an actual example
1 parent87bcf92 commit0d5c2ca

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎content/v3.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,14 @@ Here's an example:
386386
User-Agent: Awesome-Octocat-App
387387
</pre>
388388

389-
The error without anuser agent looks like this:
389+
If you provide aninvalid`User-Agent` header, you will receive a`403 Forbidden` response:
390390

391391
<preclass="terminal">
392-
Status: 403 Forbidden
392+
curl -iH 'User-Agent: ' https://api.github.com/meta
393+
HTTP/1.0 403 Forbidden
394+
Connection: close
395+
Content-Type: text/html
396+
393397
Request forbidden by administrative rules.
394398
Please make sure your request has a User-Agent header.
395399
Check https://developer.github.com for other possible causes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp