Comment #151
· 5/23/2025
Nemo aegrotatio verbera amor ubi ars reiciendis.
Overview
comments / #151
Nemo aegrotatio verbera amor ubi ars reiciendis.
Comment #151
5/23/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/151" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/151" ); 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/151"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/151"
)
comment = res.json() Response
{
"id": 151,
"userId": 234,
"targetType": "post",
"targetId": 267,
"body": "Nemo aegrotatio verbera amor ubi ars reiciendis.",
"isEdited": false,
"createdAt": "2025-05-23T20:48:39.030Z",
"updatedAt": "2025-05-23T20:48:39.030Z"
}