example-data.com
Menu
Browse docs and collections

Overview

comments / #1452

Comment #1452

· 1/1/2026

Qui illum sursum acquiro arto utique celo. Deinde distinctio agnitio defleo adduco tracto subiungo creta. Adinventitias corrigo minus illum. Placeat abscido tametsi perspiciatis pecus cito rerum cogito summisse laboriosam.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/comments/1452" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/comments/1452"
);
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/1452"
);
const comment = (await res.json()) as Comment;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/comments/1452"
)
comment = res.json()

Response

{
  "id": 1452,
  "userId": 148,
  "targetType": "post",
  "targetId": 65,
  "body": "Qui illum sursum acquiro arto utique celo. Deinde distinctio agnitio defleo adduco tracto subiungo creta. Adinventitias corrigo minus illum. Placeat abscido tametsi perspiciatis pecus cito rerum cogito summisse laboriosam.",
  "isEdited": false,
  "createdAt": "2026-01-01T20:27:19.608Z",
  "updatedAt": "2026-01-01T20:27:19.608Z"
}