Comment #35
· 4/9/2025
Spes tyrannus expedita. Unus texo cariosus curis vulariter sit calamitas thesis valens.
Overview
comments / #35
Spes tyrannus expedita. Unus texo cariosus curis vulariter sit calamitas thesis valens.
Comment #35
4/9/2025
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/35" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/35" ); 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/35"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/35"
)
comment = res.json() Response
{
"id": 35,
"userId": 227,
"targetType": "post",
"targetId": 261,
"body": "Spes tyrannus expedita. Unus texo cariosus curis vulariter sit calamitas thesis valens.",
"isEdited": false,
"createdAt": "2025-04-09T07:02:39.979Z",
"updatedAt": "2025-04-09T07:02:39.979Z"
}