2024-06-05 08:43:05 +00:00
|
|
|
meta {
|
2024-06-06 09:37:44 +00:00
|
|
|
name: Create Product
|
2024-06-05 08:43:05 +00:00
|
|
|
type: http
|
2024-06-05 15:53:24 +00:00
|
|
|
seq: 1
|
2024-06-05 08:43:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post {
|
2024-06-05 15:53:24 +00:00
|
|
|
url: {{host}}/product
|
2024-06-05 08:43:05 +00:00
|
|
|
body: json
|
|
|
|
auth: none
|
|
|
|
}
|
|
|
|
|
|
|
|
body:json {
|
|
|
|
{
|
|
|
|
"name": "Яблоко",
|
|
|
|
"price": 5,
|
|
|
|
"manufacturerID": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body:multipart-form {
|
|
|
|
name: Яблоко
|
|
|
|
price: 5
|
|
|
|
manufacturer: 1
|
|
|
|
}
|