Changelog

OpenAPI specification: http://localhost:3040/openapi.yaml

Comments

Get a comment

Get a comment

GEThttps://jsonplaceholder.typicode.com/comments/{id}

Servers

https://jsonplaceholder.typicode.com

Live public API

Parameters

Path parameters

idpathintegerrequired
The comment ID.

Responses

A single comment.

idintegerrequired
postIdintegerrequired
The post this comment belongs to.
namestringrequired
emailstringrequired
bodystringrequired
RequestcURL
curl --request GET \
  --url 'https://jsonplaceholder.typicode.com/comments/1'
Response

Send a request to preview the response.

Was this page helpful?