userservice/readme.md

22 lines
656 B
Markdown
Raw Permalink Normal View History

2024-01-17 11:41:47 +03:00
# INIT SERVICE
docker-compose up --build
# AFTER STARTING WILL BE AVAILABLE POINTS
GET http://localhost:8080/user/e2bb359d-b347-11eb-b01c-0242ac120003 - with parameter will return user info, url parameter [uuid]
POST http://localhost:8080/user - add or change user, request in json format
- {
- "firstname":"John",
- "lastname":"Dou",
- "birthday":"1972-10-06",
- "currentlocation":"Helsinki"
- }
with id UUID in request user will be changed
POST http://localhost:8080/upload/userpicture - add image or document to user record with form-data request, url parameter [userpicture|certificate]
# SWAGGER
http://localhost:8080/swagger/