example-data.com
Menu
Browse docs and collections

Overview

comments / #510

Comment #510

· 4/25/2026

Crastinus colo socius auxilium cubicularis cubicularis tepidus absque sublime. Autus tergum cresco qui tantum cogo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 510,
  "userId": 205,
  "targetType": "post",
  "targetId": 380,
  "body": "Crastinus colo socius auxilium cubicularis cubicularis tepidus absque sublime. Autus tergum cresco qui tantum cogo.",
  "isEdited": false,
  "createdAt": "2026-04-25T21:08:32.272Z",
  "updatedAt": "2026-04-25T21:08:32.272Z"
}