cake_crm/api/request.http

26 lines
323 B
HTTP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

POST http://localhost:8090/card
content-type: application/json
[
{
"product_id": 1,
"count": 7
}
]
###
POST http://localhost:8090/orders
content-type: application/json
{
"name": "Иванов Иван",
"phone": "+7-000-000-00-00",
"items": [
{
"product_id": 1,
"count": 7
}
]
}