example-data.com
Menu
Browse docs and collections

Overview

comments / #680

Comment #680

· 5/5/2025

Adficio vito tendo textus cilicium debitis. Asperiores eveniet angelus totidem amiculum defaeco vel ipsum. Aranea triduana voluptatem viriliter.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 680,
  "userId": 250,
  "targetType": "post",
  "targetId": 73,
  "body": "Adficio vito tendo textus cilicium debitis. Asperiores eveniet angelus totidem amiculum defaeco vel ipsum. Aranea triduana voluptatem viriliter.",
  "isEdited": false,
  "createdAt": "2025-05-05T07:11:29.115Z",
  "updatedAt": "2025-05-05T07:11:29.115Z"
}