example-data.com
Menu
Browse docs and collections

Overview

comments / #748

Comment #748

· 10/23/2025

Vulnero dolor demitto depraedor error quasi. Compono testimonium thalassinus soleo adficio thermae socius terreo. Somnus vomica stipes vitium totus blanditiis.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 748,
  "userId": 26,
  "targetType": "post",
  "targetId": 111,
  "body": "Vulnero dolor demitto depraedor error quasi. Compono testimonium thalassinus soleo adficio thermae socius terreo. Somnus vomica stipes vitium totus blanditiis.",
  "isEdited": false,
  "createdAt": "2025-10-23T03:49:27.305Z",
  "updatedAt": "2025-10-23T03:49:27.305Z"
}