OpenAPI specification: http://localhost:3040/openapi.yaml
Comments
Get a comment
Get a comment
GET
https://jsonplaceholder.typicode.com/comments/{id}Servers
https://jsonplaceholder.typicode.com
Live public API
Parameters
Path parameters
idpathintegerrequiredThe comment ID.
Responses
A single comment.
idintegerrequiredpostIdintegerrequiredThe post this comment belongs to.
namestringrequiredemailstringrequiredbodystringrequiredRequestcURL
curl --request GET \ --url 'https://jsonplaceholder.typicode.com/comments/1'
Response
Send a request to preview the response.
Was this page helpful?