Activity #18
User #11 favorited Book #82
6/20/2025, 6:06:49 AM
Overview
book-favs / #18
User #11 favorited Book #82
6/20/2025, 6:06:49 AM
User #11 favorited Book #82
6/20/2025, 6:06:49 AM
View recordUser #11 favorited Book #82 · 6/20/2025, 6:06:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/book-favs/18" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/book-favs/18" ); const bookFav = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/book-favs.d.ts https://example-data.com/types/book-favs.d.ts
import type { BookFav } from "./types/book-favs";
const res = await fetch(
"https://example-data.com/api/v1/book-favs/18"
);
const bookFav = (await res.json()) as BookFav; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/book-favs/18"
)
book_fav = res.json() Response
{
"id": 18,
"userId": 11,
"bookId": 82,
"savedAt": "2025-06-20T06:06:49.592Z"
}