OpenAPI specification: http://localhost:3040/openapi.yaml
Posts
List a post's comments
List a post's comments
GET
https://jsonplaceholder.typicode.com/posts/{id}/commentsServers
https://jsonplaceholder.typicode.com
Live public API
Parameters
Path parameters
idpathintegerrequiredThe 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?