Comment #158
· 7/15/2024
Casso neque tristis aliqua virtus. Viscus tempus reiciendis aperte deduco vobis sono volaticus sumptus a.
comments / #158
Casso neque tristis aliqua virtus. Viscus tempus reiciendis aperte deduco vobis sono volaticus sumptus a.
Comment #158
7/15/2024
curl -sS \
"https://example-data.com/api/v1/comments/158" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/158"
);
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/158"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/158"
)
comment = res.json() {
"id": 158,
"userId": 117,
"targetType": "post",
"targetId": 155,
"body": "Casso neque tristis aliqua virtus. Viscus tempus reiciendis aperte deduco vobis sono volaticus sumptus a.",
"isEdited": false,
"createdAt": "2024-07-15T14:59:22.240Z",
"updatedAt": "2024-07-15T14:59:22.240Z"
}