example-data.com
Menu
Browse docs and collections

Overview

comments / #584

Comment #584

· 12/20/2025

Casso tubineus amicitia suspendo thesis ulterius solitudo tunc surculus tamquam. Deleo solio aptus utique aggredior. Certe caecus creber aliqua. Caelestis volutabrum textor textilis tersus iure strues.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 584,
  "userId": 66,
  "targetType": "post",
  "targetId": 353,
  "body": "Casso tubineus amicitia suspendo thesis ulterius solitudo tunc surculus tamquam. Deleo solio aptus utique aggredior. Certe caecus creber aliqua. Caelestis volutabrum textor textilis tersus iure strues.",
  "isEdited": false,
  "createdAt": "2025-12-20T18:05:48.909Z",
  "updatedAt": "2025-12-20T18:05:48.909Z"
}