2024-05-29 21:32:28 +00:00
|
|
|
GET http://localhost:8090/catalog
|
2024-09-04 20:54:59 +00:00
|
|
|
User-Agent: crabs/1.0.0
|
2024-05-29 21:32:28 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET http://localhost:8090/products/1
|
2024-09-04 20:54:59 +00:00
|
|
|
User-Agent: crabs/1.0.0
|
2024-05-29 21:32:28 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
2024-05-29 20:54:12 +00:00
|
|
|
POST http://localhost:8090/cart
|
2024-09-04 20:54:59 +00:00
|
|
|
User-Agent: crabs/1.0.0
|
|
|
|
Content-Type: application/json
|
2024-05-29 20:24:20 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"product_id": 1,
|
|
|
|
"count": 7
|
2024-05-29 20:54:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"product_id": 20,
|
|
|
|
"count": 15
|
2024-05-29 20:24:20 +00:00
|
|
|
}
|
|
|
|
]
|
2024-05-29 20:34:04 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
POST http://localhost:8090/orders
|
2024-09-04 20:54:59 +00:00
|
|
|
User-Agent: crabs/1.0.0
|
|
|
|
Content-Type: application/json
|
2024-05-29 20:34:04 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
"name": "Иванов Иван",
|
|
|
|
"phone": "+7-000-000-00-00",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"product_id": 1,
|
|
|
|
"count": 7
|
2024-05-29 20:54:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"product_id": 20,
|
|
|
|
"count": 15
|
2024-05-29 20:34:04 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-05-29 21:17:13 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET http://localhost:8090/search?text=Лимон
|
2024-09-04 20:54:59 +00:00
|
|
|
User-Agent: crabs/1.0.0
|