example-data.com
Menu
Browse docs and collections

Overview

comments / #612

Comment #612

· 8/7/2025

Utrum communis cupiditate spiculum benigne assumenda utroque patior ait maxime. Ascit arca caecus illo spargo votum. Defaeco amita solium cresco.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 612,
  "userId": 60,
  "targetType": "post",
  "targetId": 190,
  "body": "Utrum communis cupiditate spiculum benigne assumenda utroque patior ait maxime. Ascit arca caecus illo spargo votum. Defaeco amita solium cresco.",
  "isEdited": true,
  "createdAt": "2025-08-07T08:33:50.557Z",
  "updatedAt": "2026-03-11T06:04:33.866Z"
}