Sample APIs
Copy Page
HHW
Start your Apidog journey
Sample APIs
Find pet by ID
GET
Add a new pet to the store
POST
Update an existing pet
PUT
Deletes a pet
DELETE
Finds Pets by status
GET
test
/plants
GET
/plants
POST
/plants/{id}
DELETE
chenlei
Fruit Resource
List
Delete
Add
Schemas
Sample Schemas
Pet
Category
Tag
Schemas
Plant
Fruit
NewPlant
Error
Sample APIs
Copy Page
Update an existing pet
PUT
/pet
Try it
Run in Apidog
Run in Apidog
Request
Body Params
application/json
Generate Code
Examples
Responses
ðŸŸ
405
Validation error
application/json
Generate Code
Body
application/json
Generate Code
🟢
200
OK
ðŸŸ
404
Record not found
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
PUT
'/pet'
\
--header
'Content-Type: application/json'
\
--data
'{}'
Response
Response Example
405 -
Example 1
{
}
Modified atÂ
2025-04-28 02:51:55
Previous
Add a new pet to the store
Next
Deletes a pet