Create a new user in the library system
curl -X POST https://api.library.com/users \ -u username:password \ -H "Content-Type: application/json" \ -d '{ "firstname": "John", "lastname": "Doe", "email": "[email protected]", "password": "securePassword123" }'
{ "201": {}, "400": {}, "401": {}, "409": {}, "id": 123, "firstname": "<string>", "lastname": "<string>", "email": "<string>", "borrowedBooks": [ { "id": 123, "user": {}, "book": {}, "loanDate": "<string>", "returnDate": "<string>", "returned": true } ], "googleId": "<string>", "displayPicture": "<string>" }
Show RentalDto properties