This commit is contained in:
35
bruno/products/folder.bru
Normal file
35
bruno/products/folder.bru
Normal file
@@ -0,0 +1,35 @@
|
||||
meta {
|
||||
name: products
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
Route: products
|
||||
ExamplePOSTBody: '''
|
||||
{
|
||||
"name": "test",
|
||||
"unit": 1,
|
||||
"price": 3.50,
|
||||
"price_kg": 3.50,
|
||||
"weight": "1.0",
|
||||
"productor_id": 1,
|
||||
"type": 2,
|
||||
"shipment_ids": []
|
||||
}
|
||||
'''
|
||||
ExamplePUTBody: '''
|
||||
{
|
||||
"name": "test",
|
||||
"unit": 1,
|
||||
"price": 3.50,
|
||||
"price_kg": 3.50,
|
||||
"weight": "1.0",
|
||||
"productor_id": 1,
|
||||
"type": 2,
|
||||
"shipment_ids": [1]
|
||||
}
|
||||
'''
|
||||
}
|
||||
Reference in New Issue
Block a user