endpoint to register

This commit is contained in:
2023-02-18 09:29:20 +00:00
parent 0d2d460189
commit 931e22d0f7
5 changed files with 28 additions and 9 deletions

View File

@@ -1,10 +1,14 @@
POST http://localhost:4000/api/users HTTP/1.1
POST http://localhost:4000/api/register HTTP/1.1
content-type: application/json
{
"quotation": {
"user": {
"author": "Dennis Ritchie",
"text": "The only way to learn a new programming language is by writing programs in it"
"email": "test4@yopmail.com",
"hashed_password": "yolo",
"profile": {
"display_name": "test user"
}
}
}