example-data.com
Menu
Browse docs and collections

Overview

comments / #520

Comment #520

· 4/22/2026

Umbra sapiente addo verus. Casso cum vir congregatio summisse tabgo sumptus. Cotidie tendo surgo demens amor aetas asperiores. Sono derideo cibus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 520,
  "userId": 189,
  "targetType": "post",
  "targetId": 460,
  "body": "Umbra sapiente addo verus. Casso cum vir congregatio summisse tabgo sumptus. Cotidie tendo surgo demens amor aetas asperiores. Sono derideo cibus.",
  "isEdited": true,
  "createdAt": "2026-04-22T02:56:36.213Z",
  "updatedAt": "2026-05-20T05:07:06.598Z"
}