example-data.com
Menu
Browse docs and collections

Overview

comments / #1405

Comment #1405

· 7/27/2025

Taceo accommodo spiritus texo versus vir tamen caries. Atavus timidus quas.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1405,
  "userId": 10,
  "targetType": "post",
  "targetId": 346,
  "body": "Taceo accommodo spiritus texo versus vir tamen caries. Atavus timidus quas.",
  "isEdited": true,
  "createdAt": "2025-07-27T18:48:49.762Z",
  "updatedAt": "2026-05-16T15:06:06.400Z"
}