Comment #9
· 10/6/2024
Utrimque id degusto tenax. Animi defero cornu clamo minus.
comments / #9
Utrimque id degusto tenax. Animi defero cornu clamo minus.
Comment #9
10/6/2024
curl -sS \
"https://example-data.com/api/v1/comments/9" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/9"
);
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/9"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/9"
)
comment = res.json() {
"id": 9,
"userId": 194,
"targetType": "post",
"targetId": 366,
"body": "Utrimque id degusto tenax. Animi defero cornu clamo minus.",
"isEdited": true,
"createdAt": "2024-10-06T14:06:59.268Z",
"updatedAt": "2025-04-16T02:19:56.828Z"
}