example-data.com
Menu
Browse docs and collections

Overview

comments / #1023

Comment #1023

· 9/21/2025

Vulnus averto clementia surgo triduana comedo vitiosus aeneus caries.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1023,
  "userId": 211,
  "targetType": "post",
  "targetId": 30,
  "body": "Vulnus averto clementia surgo triduana comedo vitiosus aeneus caries.",
  "isEdited": true,
  "createdAt": "2025-09-21T18:30:45.243Z",
  "updatedAt": "2026-05-18T00:32:55.273Z"
}