example-data.com
Menu
Browse docs and collections

Overview

comments / #220

Comment #220

· 12/10/2025

Tener termes non decimus vulnus. Vulgo valde vociferor delibero congregatio adhuc vilitas stabilis voluntarius. Concedo sursum advoco amissio averto arbitro spero. Crur quod viriliter utrimque theologus defendo verecundia.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 220,
  "userId": 223,
  "targetType": "post",
  "targetId": 423,
  "body": "Tener termes non decimus vulnus. Vulgo valde vociferor delibero congregatio adhuc vilitas stabilis voluntarius. Concedo sursum advoco amissio averto arbitro spero. Crur quod viriliter utrimque theologus defendo verecundia.",
  "isEdited": false,
  "createdAt": "2025-12-10T20:50:32.738Z",
  "updatedAt": "2025-12-10T20:50:32.738Z"
}