Comment #2
· 9/26/2025
Facilis considero deleo talus vicinus tui sint tamdiu praesentium. Canis calamitas barba cedo apud.
Overview
comments / #2
Facilis considero deleo talus vicinus tui sint tamdiu praesentium. Canis calamitas barba cedo apud.
Comment #2
9/26/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/2" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/2" ); 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/2"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/2"
)
comment = res.json() Response
{
"id": 2,
"userId": 101,
"targetType": "post",
"targetId": 497,
"body": "Facilis considero deleo talus vicinus tui sint tamdiu praesentium. Canis calamitas barba cedo apud.",
"isEdited": false,
"createdAt": "2025-09-26T04:52:12.858Z",
"updatedAt": "2025-09-26T04:52:12.858Z"
}