Project-Sonata / Profiles

Provide access for profile and account of the user
0 stars 0 forks source link

Added new endpoint to create a user using REST API #18

Closed justJavaProgrammer closed 4 months ago

justJavaProgrammer commented 4 months ago

Added REST API endpoint to create a user.

POST /users
Content-Type: application/json

Example request body:

{
   "username": "xh2bdi65tqbgykclu3glt7g9j",
   "email": "mikunakano@gmail.com",
   "country": "JP",
   "gender": "FEMALE",
   "birthdate": "2002-05-14",
   "sonata_id": "xh2bdi65tqbgykclu3glt7g9j"
}

Implementation of https://github.com/Project-Sonata/Profiles/issues/13