example-data.com
Menu
Browse docs and collections

Overview

comments / #1471

Comment #1471

· 5/1/2026

Caelestis confido peior defendo. Sit torrens patrocinor pectus vallum vigilo cernuus. Deludo sortitus vorax vel vulgivagus coerceo saepe vox. Stipes speciosus eligendi creta esse cruentus undique vita.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1471,
  "userId": 16,
  "targetType": "post",
  "targetId": 494,
  "body": "Caelestis confido peior defendo. Sit torrens patrocinor pectus vallum vigilo cernuus. Deludo sortitus vorax vel vulgivagus coerceo saepe vox. Stipes speciosus eligendi creta esse cruentus undique vita.",
  "isEdited": false,
  "createdAt": "2026-05-01T04:57:58.681Z",
  "updatedAt": "2026-05-01T04:57:58.681Z"
}