HHW
  1. test
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. test

/plants

POST
/plants
Creates a new plant in the store

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
plant response
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/plants' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "tag": "string",
    "id": 0
}'
Response Response Example
200 - Example 1
{
    "name": "string",
    "tag": "string"
}
Modified at 2025-04-28 02:56:15
Previous
/plants
Next
/plants/{id}
Built with