Skip to content

Commit

Permalink
Merge pull request #13 from Entwicklung-AvaL-Standard/12-should-add-c…
Browse files Browse the repository at this point in the history
…url-sample-for-usage-of-token

Sample usage of retrieved token
  • Loading branch information
curban111 authored Feb 22, 2024
2 parents 9876681 + 1d1dba3 commit 08a6513
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions curl/3_token_usage.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
curl --location 'http://www.aval-interface-b.org/avalmatchings/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <INSERT YOUR TOKEN HERE>' \
--data '{
"state": 1,
"id": "043fb274-21da-482a-96ef-ed7e666fdf01",
"client": {
"contractPartner": "MaxMustermann GmbH",
"containerType": "10 cubic metre",
"material": "paper",
"serviceType": "change",
"performancePlace": "Musterstraße 43, 22041 Hamburg",
"materialUnit": "tons",
"serviceUnit": "piece",
"cycleInformation": false,
"cycleRhythm": null
}
}'

0 comments on commit 08a6513

Please sign in to comment.