example-data.com
Menu
Browse docs and collections

Overview

comments / #341

Comment #341

· 3/7/2026

Vesper vomito defungo error patria veniam itaque inflammatio deleniti. Rerum pecus aetas spoliatio corroboro.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 341,
  "userId": 25,
  "targetType": "post",
  "targetId": 313,
  "body": "Vesper vomito defungo error patria veniam itaque inflammatio deleniti. Rerum pecus aetas spoliatio corroboro.",
  "isEdited": true,
  "createdAt": "2026-03-07T12:58:42.230Z",
  "updatedAt": "2026-04-05T02:34:00.785Z"
}