mirror of
https://github.com/kevin-DL/phoenix_api_template.git
synced 2026-01-12 02:55:13 +00:00
endpoint to register
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user