Comment #137
· 10/4/2024
Umquam vesco testimonium autus urbs.
comments / #137
Umquam vesco testimonium autus urbs.
Comment #137
10/4/2024
curl -sS \
"https://example-data.com/api/v1/comments/137" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/137"
);
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/137"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/137"
)
comment = res.json() {
"id": 137,
"userId": 193,
"targetType": "post",
"targetId": 244,
"body": "Umquam vesco testimonium autus urbs.",
"isEdited": false,
"createdAt": "2024-10-04T05:25:41.882Z",
"updatedAt": "2024-10-04T05:25:41.882Z"
}