Comment #41
· 6/12/2025
Consectetur cum aggero canis. A amor deleo clamo inflammatio nihil. Approbo sto cognatus accommodo suscipio. Iusto tres inflammatio crudelis quas.
Overview
comments / #41
Consectetur cum aggero canis. A amor deleo clamo inflammatio nihil. Approbo sto cognatus accommodo suscipio. Iusto tres inflammatio crudelis quas.
Comment #41
6/12/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/41" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/41" ); 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/41"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/41"
)
comment = res.json() Response
{
"id": 41,
"userId": 124,
"targetType": "post",
"targetId": 297,
"body": "Consectetur cum aggero canis. A amor deleo clamo inflammatio nihil. Approbo sto cognatus accommodo suscipio. Iusto tres inflammatio crudelis quas.",
"isEdited": false,
"createdAt": "2025-06-12T13:20:27.254Z",
"updatedAt": "2025-06-12T13:20:27.254Z"
}