Comment #124
· 3/21/2025
Demens amo inventore agnitio confugo. Crur vulpes cupio. Soleo vociferor conspergo. Venia corpus asporto acerbitas acceptus aut conicio articulus vix coerceo.
Overview
comments / #124
Demens amo inventore agnitio confugo. Crur vulpes cupio. Soleo vociferor conspergo. Venia corpus asporto acerbitas acceptus aut conicio articulus vix coerceo.
Comment #124
3/21/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/124" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/124" ); 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/124"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/124"
)
comment = res.json() Response
{
"id": 124,
"userId": 140,
"targetType": "post",
"targetId": 441,
"body": "Demens amo inventore agnitio confugo. Crur vulpes cupio. Soleo vociferor conspergo. Venia corpus asporto acerbitas acceptus aut conicio articulus vix coerceo.",
"isEdited": false,
"createdAt": "2025-03-21T14:25:56.962Z",
"updatedAt": "2025-03-21T14:25:56.962Z"
}