example-data.com
Menu
Browse docs and collections

Overview

comments / #650

Comment #650

· 3/22/2025

Inflammatio aurum certe audentia ante. Deludo delinquo ancilla certe depopulo amplexus accusantium.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 650,
  "userId": 154,
  "targetType": "post",
  "targetId": 398,
  "body": "Inflammatio aurum certe audentia ante. Deludo delinquo ancilla certe depopulo amplexus accusantium.",
  "isEdited": true,
  "createdAt": "2025-03-22T10:30:05.014Z",
  "updatedAt": "2025-06-04T04:33:45.474Z"
}