example-data.com
Menu
Browse docs and collections

Overview

comments / #511

Comment #511

· 4/22/2026

Deficio demo qui decens adulescens testimonium aer theca provident. Arbor aegre adnuo desino. Torqueo viscus absum. Tenuis comis adfero doloremque animi voluptas pax tero.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 511,
  "userId": 88,
  "targetType": "post",
  "targetId": 463,
  "body": "Deficio demo qui decens adulescens testimonium aer theca provident. Arbor aegre adnuo desino. Torqueo viscus absum. Tenuis comis adfero doloremque animi voluptas pax tero.",
  "isEdited": false,
  "createdAt": "2026-04-22T22:01:41.672Z",
  "updatedAt": "2026-04-22T22:01:41.672Z"
}