HHW
  1. Sample APIs
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
  1. Sample APIs

Update an existing pet

PUT
/pet

Request

Body Params application/json

Examples

Responses

🟠405Validation error
application/json
Body

🟢200OK
🟠404Record not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/pet' \
--header 'Content-Type: application/json' \
--data-raw '{}'
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
Built with