example-data.com
Menu
Browse docs and collections

Overview

comments / #1386

Comment #1386

· 3/3/2025

Utpote cursim blandior depulso suscipit chirographum confido vomer.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1386,
  "userId": 82,
  "targetType": "post",
  "targetId": 438,
  "body": "Utpote cursim blandior depulso suscipit chirographum confido vomer.",
  "isEdited": true,
  "createdAt": "2025-03-03T09:48:04.912Z",
  "updatedAt": "2026-03-18T15:23:45.514Z"
}