example-data.com
Menu
Browse docs and collections

Overview

comments / #382

Comment #382

· 4/10/2026

Causa dolorem praesentium tyrannus strenuus audio carpo. Ea vinum tubineus clam delectus trucido curvo solus stillicidium. Auditor dens tabernus virtus delectatio turbo modi absens thesaurus error.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 382,
  "userId": 244,
  "targetType": "post",
  "targetId": 414,
  "body": "Causa dolorem praesentium tyrannus strenuus audio carpo. Ea vinum tubineus clam delectus trucido curvo solus stillicidium. Auditor dens tabernus virtus delectatio turbo modi absens thesaurus error.",
  "isEdited": false,
  "createdAt": "2026-04-10T15:59:33.477Z",
  "updatedAt": "2026-04-10T15:59:33.477Z"
}