example-data.com
Menu
Browse docs and collections

Overview

comments / #1091

Comment #1091

· 11/25/2025

Ademptio beatae uter dolorem odit dens votum una vacuus. Eius ustilo despecto pecto defendo comptus supellex nihil acies. Torqueo attonbitus thorax demens defungo conor cresco damno.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1091,
  "userId": 104,
  "targetType": "post",
  "targetId": 283,
  "body": "Ademptio beatae uter dolorem odit dens votum una vacuus. Eius ustilo despecto pecto defendo comptus supellex nihil acies. Torqueo attonbitus thorax demens defungo conor cresco damno.",
  "isEdited": false,
  "createdAt": "2025-11-25T14:38:04.165Z",
  "updatedAt": "2025-11-25T14:38:04.165Z"
}