Skip to content

bm64/pp5-voucherstore-3511

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voucher Shop

Java CI with Maven

Testing

mvn test

testing via curl

curl -X POST localhost:9999/api/clients -H 'content-type: application/json' -d '{"firstname": "Mateusz", "lastname": "Bernacik", "address": {"street": "rakowicka"}}'
curl -X POST localhost:9999/api/clients -H 'content-type: application/json' -d '{"firstname": "Mateusz", "lastname": "Bernacik", "address": {"street": "rakowicka"}}'
curl -X POST localhost:9999/api/clients -H 'content-type: application/json' -d '{"firstname": "Mateusz", "lastname": "Bernacik", "address": {"street": "rakowicka"}}'

curl localhost:9999/api/clients | jq
curl localhost:9999/api/clients | python -m json.tool