API Master

A space to practice and perfect your API testing skills.

GET

/api/posts

Retrieve a list of all posts. This is a basic GET request to fetch data from the server.

GET

/api/posts/{id}

Retrieve a single post by its ID. Try changing the ID to see different results.

POST

/api/posts

Create a new post. The API will return the newly created post with an ID.

PUT

/api/posts/{id}

Update an existing post by its ID. The API will return the updated post.

DELETE

/api/posts/{id}

Delete a post by its ID. The API will return a success message.