example-data.com
Menu
Browse docs and collections

Overview

comments / #182

Comment #182

· 2/12/2026

Alienus bardus contigo itaque depereo repellendus. Vae unus spargo synagoga ubi porro deputo tamisium tantum. Itaque rerum ante benigne desipio administratio speculum undique.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 182,
  "userId": 17,
  "targetType": "post",
  "targetId": 437,
  "body": "Alienus bardus contigo itaque depereo repellendus. Vae unus spargo synagoga ubi porro deputo tamisium tantum. Itaque rerum ante benigne desipio administratio speculum undique.",
  "isEdited": false,
  "createdAt": "2026-02-12T16:17:49.237Z",
  "updatedAt": "2026-02-12T16:17:49.237Z"
}