Skip to content

Commit 8fdec7a

Browse files
authored
Enhance REST API documentation with conditional requests
Added information about conditional requests in the REST API.
1 parent 531d6dc commit 8fdec7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/rest/about-the-rest-api/comparing-githubs-rest-api-and-graphql-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,5 @@ mutation {
8282
}
8383
}
8484
```
85+
86+
The REST API also has the concept of conditional requests, which allow you to use ETAG and If-None-Modified headers to observe if the previous query has changed without incurring a rate limit query charge. For more info, see: [AUTOTITLE](/rest/using-the-rest-api/best-practices-for-using-the-rest-api#use-conditional-requests-if-appropriate)

0 commit comments

Comments
 (0)