[WIP] front api exchanges
This commit is contained in:
@@ -10,12 +10,12 @@ vars:pre-request {
|
||||
Route: forms
|
||||
ExamplePOSTBody: '''
|
||||
{
|
||||
"productor_id": 1,
|
||||
"productor_id": 2,
|
||||
"referer_id": 1,
|
||||
"season": "Hiver-2026",
|
||||
"shipments": 5,
|
||||
"season": "Automne-2026",
|
||||
"start": "2026-01-10",
|
||||
"end": "2026-05-10"
|
||||
"end": "2026-05-10",
|
||||
"name": "test very very very form long name"
|
||||
}
|
||||
'''
|
||||
ExamplePUTBody: '''
|
||||
|
||||
@@ -8,6 +8,6 @@ auth {
|
||||
|
||||
vars:pre-request {
|
||||
Route: productors
|
||||
ExamplePOSTBody: {"name": "test", "address": "test", "payment": "test"}
|
||||
ExamplePOSTBody: {"name": "marie", "address": "test", "payment": "test"}
|
||||
ExamplePUTBody: {"name": "updatetestt", "address": "updatetestt"}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ vars:pre-request {
|
||||
"name": "test",
|
||||
"date": "2026-01-10",
|
||||
"product_ids": [1],
|
||||
"form_id": 3
|
||||
"form_id": 1
|
||||
}
|
||||
'''
|
||||
ExamplePUTBody: '''
|
||||
|
||||
Reference in New Issue
Block a user