example-data.com
Menu
Browse docs and collections

Overview

comments / #49

Comment #49

· 6/11/2025

Adversus bellum tepidus tego curso quasi beatus terga. Coadunatio atrox vaco consectetur deprecator abduco terminatio supra ipsa. Atrox succurro delego velociter umquam antea.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 49,
  "userId": 148,
  "targetType": "post",
  "targetId": 127,
  "body": "Adversus bellum tepidus tego curso quasi beatus terga. Coadunatio atrox vaco consectetur deprecator abduco terminatio supra ipsa. Atrox succurro delego velociter umquam antea.",
  "isEdited": false,
  "createdAt": "2025-06-11T08:56:18.792Z",
  "updatedAt": "2025-06-11T08:56:18.792Z"
}