Comment #163
· 6/21/2024
Avarus attollo tantum ante cupiditate. Omnis constans uter cotidie laboriosam. Barba delibero dicta.
comments / #163
Avarus attollo tantum ante cupiditate. Omnis constans uter cotidie laboriosam. Barba delibero dicta.
Comment #163
6/21/2024
curl -sS \
"https://example-data.com/api/v1/comments/163" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/163"
);
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/163"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/163"
)
comment = res.json() {
"id": 163,
"userId": 174,
"targetType": "post",
"targetId": 158,
"body": "Avarus attollo tantum ante cupiditate. Omnis constans uter cotidie laboriosam. Barba delibero dicta.",
"isEdited": false,
"createdAt": "2024-06-21T16:40:44.370Z",
"updatedAt": "2024-06-21T16:40:44.370Z"
}