r2web-ru/backend/sample_requests.rest

18 lines
339 B
ReStructuredText
Raw Normal View History

2022-11-30 00:37:19 +10:00
POST http://localhost:3000/auth/register
content-type: application/json
{
"username": "nikki",
"email": "nikki@gmail.com",
"password": "password",
"password_confirmation": "password"
}
###
POST http://localhost:3000/auth/login
content-type: application/json
{
"email": "nikki@gmail.com",
"password": "password"
}