Comment #40
· 1/18/2025
Demonstro vinco viscus.
comments / #40
Demonstro vinco viscus.
Comment #40
1/18/2025
curl -sS \
"https://example-data.com/api/v1/comments/40" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/comments/40"
);
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/40"
);
const comment = (await res.json()) as Comment;import requests
res = requests.get(
"https://example-data.com/api/v1/comments/40"
)
comment = res.json() {
"id": 40,
"userId": 77,
"targetType": "post",
"targetId": 10,
"body": "Demonstro vinco viscus.",
"isEdited": false,
"createdAt": "2025-01-18T05:01:14.058Z",
"updatedAt": "2025-01-18T05:01:14.058Z"
}