-
Notifications
You must be signed in to change notification settings - Fork 0
Routes
Edib Isic edited this page May 13, 2019
·
5 revisions
Register a new User POST http://localhost:8083/registerUser
Example Json to register new User
{
"id": "[email protected]",
"name": "John",
"surname": "Doe",
"pwd" : "p4ssw0rd",
"adresses": [
{"id": 1, "street": "Musterstraße 212","postcode": 80995, "city": "Munich"},
{"id": 2, "street": "Mustermannstraße. 146a","postcode": 80935, "city": "Munich"}
],
"bankAccount": "DE34598437943857983457984797"
}
You can browse all available Products in the shop through calling GET http://localhost:8083/products or using an API Tool like Postman.
Then you can register a new User through calling the POST Method in Postman
http://localhost:8083/registerUser
With the Post Request you have to send an Json formatted user in the Format