Comment #42
· 4/18/2025
Theca ultra quae aer tibi.
comments / #42
Theca ultra quae aer tibi.
Comment #42
4/18/2025
curl -sS \
"https://example-data.com/api/v1/comments/42" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/42"
);
const comment = await res.json();import type { Comment } from "https://example-data.com/types/comments.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/comments/42"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/42"
)
comment = res.json() {
"id": 42,
"userId": 191,
"targetType": "post",
"targetId": 281,
"body": "Theca ultra quae aer tibi.",
"isEdited": false,
"createdAt": "2025-04-18T02:29:47.128Z",
"updatedAt": "2025-04-18T02:29:47.128Z"
}