Comment #126
· 2/9/2025
Derelinquo doloremque suscipio tricesimus usitas.
comments / #126
Derelinquo doloremque suscipio tricesimus usitas.
Comment #126
2/9/2025
curl -sS \
"https://example-data.com/api/v1/comments/126" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/126"
);
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/126"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/126"
)
comment = res.json() {
"id": 126,
"userId": 107,
"targetType": "post",
"targetId": 28,
"body": "Derelinquo doloremque suscipio tricesimus usitas.",
"isEdited": false,
"createdAt": "2025-02-09T04:06:51.743Z",
"updatedAt": "2025-02-09T04:06:51.743Z"
}