example-data.com
Menu
Browse docs and collections

Overview

comments / #549

Comment #549

· 3/2/2026

Sequi adhuc demitto vito abundans infit. Dolores currus quis adeptio auxilium patria ceno alveus campana tutis. Conventus claro aeneus vindico cervus vobis.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 549,
  "userId": 234,
  "targetType": "post",
  "targetId": 263,
  "body": "Sequi adhuc demitto vito abundans infit. Dolores currus quis adeptio auxilium patria ceno alveus campana tutis. Conventus claro aeneus vindico cervus vobis.",
  "isEdited": false,
  "createdAt": "2026-03-02T05:21:05.790Z",
  "updatedAt": "2026-03-02T05:21:05.790Z"
}