Comment #13
· 5/28/2024
Curso verbum calamitas. Sollicito pectus utique caput.
comments / #13
Curso verbum calamitas. Sollicito pectus utique caput.
Comment #13
5/28/2024
curl -sS \
"https://example-data.com/api/v1/comments/13" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/13"
);
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/13"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/13"
)
comment = res.json() {
"id": 13,
"userId": 54,
"targetType": "post",
"targetId": 285,
"body": "Curso verbum calamitas. Sollicito pectus utique caput.",
"isEdited": false,
"createdAt": "2024-05-28T22:15:45.882Z",
"updatedAt": "2024-05-28T22:15:45.882Z"
}