Welcome to Slydap
Get Involved, Explore & Redefine
- Share your momentsPosts, photos, polls and what’s on your mind.
- Watch videosSkits, music and stories from people around you.
- Chat with friendsMessages, voice notes and group chats.
- Join groups and pagesFind your people and the things you love.
Happening on Slydap
Public posts
Michael
🤗1
7 This UG student cooked his Professor so well that you’d think he’s rather the Prof.
Giving up doesn't always mean you are weak; sometimes it mean that you are strong enough to let go.
Bless
👍1
3
🚀 REST vs GraphQL
Both are used to build APIs.
But they handle data fetching differently.
1️⃣ REST (Representational State Transfer) 🌐… See more
🚀 REST vs GraphQL
Both are used to build APIs.
But they handle data fetching differently.
1️⃣ REST (Representational State Transfer) 🌐
Uses multiple endpoints to access resources.
? How: Each resource has a fixed URL
? Example:
GET /users
GET /users/1
? Wins: Simple, widely adopted
? Risk: Over-fetching or under-fetching data
Problem:
Client may receive more data than needed.
2️⃣ GraphQL ⚡
Uses a single endpoint for all requests.
? How: Client specifies exactly what data it needs
? Example:
{
user(id: 1) {
name
email
}
}
? Wins: No over-fetching, flexible queries
? Risk: More complex setup
💡 Key Difference
REST ? Multiple endpoints, fixed responses
GraphQL ? Single endpoint, flexible responses
REST = Server defines structure
GraphQL = Client defines structure
Choose based on project complexity. See less
Matthew
👍1
5 Nosngitiang Falls in the state of Meghalaya, India.
Michael
👍1
8
Government to remove import duties and VAT on solar panels and batteries to make solar energy more affordable — Finance Minister Dr Ato Forson.
-
#the1957news


Michael, Bless and 2 others
👍4
8 There’s more on Slydap
Create an account to see everything, react, comment and follow people.

