Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 578 Bytes

route.rest

File metadata and controls

31 lines (21 loc) · 578 Bytes

GET http://localhost:3001/

###

POST http://localhost:3001/addPlant Content-Type: application/json

{
"name": "Rose", "description": "Moms Roses", "care": "Lots of Love", "price": 100000, "image": "https://target.scene7.com/is/image/Target/GUEST_be7e6313-15ac-4e1c-94b8-8af5595d6cb6?wid=488&hei=488&fmt=pjpeg"

}

###

DELETE http://localhost:3001/deletePlant/5e179590cd54379121b4153d

###

GET http://localhost:3001/5e179590cd54379121b4153d

###

PATCH http://localhost:3001/5e090eb1ac4b0d20dc9c712a Content-Type: application/json

{
"price": 15

}