Comment #909
· 12/20/2024
Tenetur molestiae peior calamitas suppellex ducimus. Maxime speciosus tametsi. Odit articulus provident carmen ducimus audacia antepono. Succedo textilis adiuvo architecto canto.
Overview
comments / #909
Tenetur molestiae peior calamitas suppellex ducimus. Maxime speciosus tametsi. Odit articulus provident carmen ducimus audacia antepono. Succedo textilis adiuvo architecto canto.
Comment #909
12/20/2024
Request
curl example
curl -sS \ "https://example-data.com/api/v1/comments/909" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/comments/909" ); 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/909"
);
const comment = (await res.json()) as Comment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/comments/909"
)
comment = res.json() Response
{
"id": 909,
"userId": 79,
"targetType": "post",
"targetId": 69,
"body": "Tenetur molestiae peior calamitas suppellex ducimus. Maxime speciosus tametsi. Odit articulus provident carmen ducimus audacia antepono. Succedo textilis adiuvo architecto canto.",
"isEdited": false,
"createdAt": "2024-12-20T13:35:56.144Z",
"updatedAt": "2024-12-20T13:35:56.144Z"
}