example-data.com
Menu
Browse docs and collections

Overview

comments / #448

Comment #448

· 2/7/2026

Ulterius spero volo spoliatio demoror aut trado carpo aurum tempora. Sursum admoneo vobis vitium. Sumo cultellus volaticus censura adsuesco provident.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 448,
  "userId": 69,
  "targetType": "post",
  "targetId": 16,
  "body": "Ulterius spero volo spoliatio demoror aut trado carpo aurum tempora. Sursum admoneo vobis vitium. Sumo cultellus volaticus censura adsuesco provident.",
  "isEdited": false,
  "createdAt": "2026-02-07T13:45:07.048Z",
  "updatedAt": "2026-02-07T13:45:07.048Z"
}