Changelog

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

Posts

List a post's comments

List a post's comments

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

Servers

https://jsonplaceholder.typicode.com

Live public API

Parameters

Path parameters

idpathintegerrequired
The post ID.

Responses

Comments on the post.

RequestcURL
curl --request GET \
  --url 'https://jsonplaceholder.typicode.com/posts/1/comments'
Response

Send a request to preview the response.

Was this page helpful?