HHW
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
Sample APIs
Copy Page
Deletes a pet
DELETE
/pet/{petId}
Try it
Run in Apidog
Run in Apidog
Request
Path Params
Generate Code
Header Params
Generate Code
Responses
🟢
200
OK
application/json
Generate Code
Body
Generate Code
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
DELETE
'/pet/'
\
--header
'api_key;'
Response
Response Example
{
"code"
:
0
}
Modified atÂ
2025-04-28 02:51:55
Previous
Update an existing pet
Next
Finds Pets by status