Skip to content

Commit d782a66

Browse files
authored
Merge pull request #16528 from gijswijs/curl-parameter
Add `-I` parameter to curl command
2 parents 7bf9561 + 128661d commit d782a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/rest/overview/resources-in-the-rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ If you exceed the rate limit, an error response returns:
449449
If your OAuth App needs to make unauthenticated calls with a higher rate limit, you can pass your app's client ID and secret before the endpoint route.
450450
451451
```shell
452-
$ curl -u my_client_id:my_client_secret {% data variables.product.api_url_pre %}/user/repos
452+
$ curl -u my_client_id:my_client_secret -I {% data variables.product.api_url_pre %}/user/repos
453453
> HTTP/2 200
454454
> Date: Mon, 01 Jul 2013 17:27:06 GMT
455455
> x-ratelimit-limit: 5000

0 commit comments

Comments
 (0)