add crud for forms, templates, shipment, users and auth with keycloak
This commit is contained in:
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{Service}}/{{Route}}/2
|
||||
url: {{Service}}/{{Route}}/6
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{Service}}/{{Route}}/1
|
||||
url: {{Service}}/{{Route}}/3
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -8,6 +8,28 @@ auth {
|
||||
|
||||
vars:pre-request {
|
||||
Route: products
|
||||
ExamplePOSTBody: {"name": "test", "unit": "KILO", "price": 3.50, "price_kg": 3.50, "weight": "1.0", "productor_id": 1}
|
||||
ExamplePUTBody: {"name": "updatetestt", "address": "updatetestt"}
|
||||
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