Skip to content

GITHUB'S REST API #120972

Discussion options

You must be logged in to vote

GitHub's REST API and GraphQL API serve similar purposes of accessing and interacting with GitHub's data, but they differ in their approach and capabilities.

REST API:
Uses standard HTTP methods like GET, POST, PUT, DELETE.
Provides a more fixed data structure with predefined endpoints for specific actions.

GraphQL API:
Allows clients to request only the data they need, enabling more efficient queries.
Suited for complex queries where specific data fields are required.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Vetorian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions and conversations related to APIs or Webhooks Question
2 participants