Comment #508
· 2/27/2025
Ustulo quidem textus combibo aeneus porro strues non suus.
Overview
comments / #508
Ustulo quidem textus combibo aeneus porro strues non suus.
Comment #508
2/27/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/508" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/508" ); 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/508"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/508"
)
comment = res.json() Response
{
"id": 508,
"userId": 91,
"targetType": "post",
"targetId": 42,
"body": "Ustulo quidem textus combibo aeneus porro strues non suus.",
"isEdited": false,
"createdAt": "2025-02-27T06:31:31.405Z",
"updatedAt": "2025-02-27T06:31:31.405Z"
}