example-data.com
Menu
Browse docs and collections

Overview

comments / #1008

Comment #1008

· 1/23/2026

Curtus sol aggredior facilis accusator admiratio claro. Territo molestiae suppono urbanus accendo deporto contigo aduro agnosco adflicto. Arma tametsi cursim bene truculenter.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1008,
  "userId": 65,
  "targetType": "post",
  "targetId": 398,
  "body": "Curtus sol aggredior facilis accusator admiratio claro. Territo molestiae suppono urbanus accendo deporto contigo aduro agnosco adflicto. Arma tametsi cursim bene truculenter.",
  "isEdited": true,
  "createdAt": "2026-01-23T06:03:13.353Z",
  "updatedAt": "2026-03-20T06:31:22.632Z"
}