example-data.com
Menu
Browse docs and collections

Overview

comments / #530

Comment #530

· 9/6/2025

Censura pecco earum temporibus torrens tui dedico termes theatrum. Copia volo et cenaculum repudiandae approbo cubicularis quia vesco tyrannus. Debilito thymum viriliter trado similique. Uredo vaco aegrotatio super ipsam.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 530,
  "userId": 217,
  "targetType": "post",
  "targetId": 310,
  "body": "Censura pecco earum temporibus torrens tui dedico termes theatrum. Copia volo et cenaculum repudiandae approbo cubicularis quia vesco tyrannus. Debilito thymum viriliter trado similique. Uredo vaco aegrotatio super ipsam.",
  "isEdited": false,
  "createdAt": "2025-09-06T05:53:03.187Z",
  "updatedAt": "2025-09-06T05:53:03.187Z"
}