example-data.com
Menu
Browse docs and collections

Overview

comments / #661

Comment #661

· 12/15/2025

Derideo rerum illo adeo suasoria sollicito. Comburo aurum termes desipio ambitus nostrum crapula vester comparo. Urbs in vinum turpis corroboro aequitas cunabula cupressus eos crepusculum. Solutio decipio saepe benigne magnam vulgus architecto vesper subnecto.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 661,
  "userId": 94,
  "targetType": "post",
  "targetId": 482,
  "body": "Derideo rerum illo adeo suasoria sollicito. Comburo aurum termes desipio ambitus nostrum crapula vester comparo. Urbs in vinum turpis corroboro aequitas cunabula cupressus eos crepusculum. Solutio decipio saepe benigne magnam vulgus architecto vesper subnecto.",
  "isEdited": false,
  "createdAt": "2025-12-15T11:28:40.165Z",
  "updatedAt": "2025-12-15T11:28:40.165Z"
}