Changelog

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

Posts

List posts

Return all posts. Filter by author with the userId query parameter.

GEThttps://jsonplaceholder.typicode.com/posts

Servers

https://jsonplaceholder.typicode.com

Live public API

Parameters

Query parameters

userIdqueryinteger
Only return posts written by this user.

Responses

An array of posts.

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

Send a request to preview the response.

Was this page helpful?