5. GET endpoints
GET /api/snippets
GET /api/snippets[
{
"id": 1,
"created_at": "...",
"title": "avg.js",
"contents": "console.log('1')",
"is_private": false,
"user": {
"id": 1,
"first_name": "Orhan",
"last_name": "Toy"
}
}
]GET /api/snippets/:id
GET /api/snippets/:idLast updated