OpenAPI specification: http://localhost:3040/openapi.yaml
Posts
List posts
Return all posts. Filter by author with the userId query parameter.
GET
https://jsonplaceholder.typicode.com/postsServers
https://jsonplaceholder.typicode.com
Live public API
Parameters
Query parameters
userIdqueryintegerOnly 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?