example-data.com
Menu
Browse docs and collections

Overview

comments / #197

Comment #197

· 10/28/2025

Autus pectus tempore tot necessitatibus auxilium animadverto. Peccatus aurum cerno aqua textus sol. Cattus sumptus ipsa arcus inflammatio. Amiculum nisi adulatio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 197,
  "userId": 111,
  "targetType": "post",
  "targetId": 93,
  "body": "Autus pectus tempore tot necessitatibus auxilium animadverto. Peccatus aurum cerno aqua textus sol. Cattus sumptus ipsa arcus inflammatio. Amiculum nisi adulatio.",
  "isEdited": false,
  "createdAt": "2025-10-28T03:39:24.677Z",
  "updatedAt": "2025-10-28T03:39:24.677Z"
}