example-data.com
Menu
Browse docs and collections

Overview

comments / #834

Comment #834

· 11/19/2025

Impedit quaerat tamen venustas ancilla. Cresco considero texo eaque angelus arcesso videlicet sopor voluptate argumentum. Vere deprimo neque voveo succurro animus quia conitor ancilla thorax.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 834,
  "userId": 172,
  "targetType": "post",
  "targetId": 28,
  "body": "Impedit quaerat tamen venustas ancilla. Cresco considero texo eaque angelus arcesso videlicet sopor voluptate argumentum. Vere deprimo neque voveo succurro animus quia conitor ancilla thorax.",
  "isEdited": false,
  "createdAt": "2025-11-19T17:43:49.909Z",
  "updatedAt": "2025-11-19T17:43:49.909Z"
}