Comment #15
· 3/15/2025
Vaco unus unus defetiscor adhaero via carcer vorago ratione volup.
Overview
comments / #15
Vaco unus unus defetiscor adhaero via carcer vorago ratione volup.
Comment #15
3/15/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/15" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/15" ); const comment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/comments.d.ts https://example-data.com/types/comments.d.ts
import type { Comment } from "./types/comments";
const res = await fetch(
"https://example-data.com/api/v1/comments/15"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/15"
)
comment = res.json() Response
{
"id": 15,
"userId": 10,
"targetType": "post",
"targetId": 256,
"body": "Vaco unus unus defetiscor adhaero via carcer vorago ratione volup.",
"isEdited": false,
"createdAt": "2025-03-15T13:26:21.133Z",
"updatedAt": "2025-03-15T13:26:21.133Z"
}