v1
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
curl -X POST http://localhost:3000/download \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"labelName": "adres",
|
||||
"headers": ["Voornaam", "Achternaam", "Straatnaam", "Huisnr", "Toev", "Postcode", "Woonplaats", "Land"],
|
||||
"data": [
|
||||
["Jan", "Jansen", "Dorpsstraat", "12", "a", "1234 AB", "Den Haag", "Nederland"]
|
||||
]
|
||||
}' --output resultaat.pdf
|
||||
|
||||
curl -X POST http://localhost:3000/download \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"labelName": "etenopslag",
|
||||
"headers": ["Product", "Datum"],
|
||||
"data": [
|
||||
["Aardappelpuree", "15-04-2026"]
|
||||
]
|
||||
}' --output resultaat.pdf
|
||||
Reference in New Issue
Block a user