HHW
  1. Fruit Resource
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
        GET
      • Delete
        DELETE
      • Add
        POST
  1. Fruit Resource

Add

POST
/fruits

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
OK
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/fruits' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "description": "string"
}'
Response Response Example
[
    {
        "name": "string",
        "description": "string"
    }
]
Modified at 2025-04-28 07:05:51
Previous
Delete
Built with