example-data.com
Menu
Browse docs and collections

Overview

comments / #960

Comment #960

· 1/8/2026

Debitis caput conturbo patior explicabo adsum thermae quidem. Sophismata atque versus ventus colo suggero voco. Odit somniculosus cenaculum sol adeo cunabula conventus harum. Stella conitor terra adsum tibi id vespillo strenuus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 960,
  "userId": 23,
  "targetType": "post",
  "targetId": 117,
  "body": "Debitis caput conturbo patior explicabo adsum thermae quidem. Sophismata atque versus ventus colo suggero voco. Odit somniculosus cenaculum sol adeo cunabula conventus harum. Stella conitor terra adsum tibi id vespillo strenuus.",
  "isEdited": false,
  "createdAt": "2026-01-08T17:40:59.761Z",
  "updatedAt": "2026-01-08T17:40:59.761Z"
}