Comment #203
· 8/8/2024
Vinum usitas cinis circumvenio spes sollicito.
comments / #203
Vinum usitas cinis circumvenio spes sollicito.
Comment #203
8/8/2024
curl -sS \
"https://example-data.com/api/v1/comments/203" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/203"
);
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/203"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/203"
)
comment = res.json() {
"id": 203,
"userId": 222,
"targetType": "post",
"targetId": 324,
"body": "Vinum usitas cinis circumvenio spes sollicito.",
"isEdited": false,
"createdAt": "2024-08-08T11:11:52.044Z",
"updatedAt": "2024-08-08T11:11:52.044Z"
}