Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 899 Bytes

test.rest

File metadata and controls

53 lines (38 loc) · 899 Bytes

POST http://localhost:8080/users Content-Type: application/json

{
"username": "colesturza", "email": "cole@email.com", "password": "password"

}

###

POST http://localhost:8080/tokens/authentication Content-Type: application/json Accept: application/json

{
"username": "colesturza", "password": "password"

}

###

GET http://localhost:8080/users/colesturza Authorization: Bearer Do7M0Bihz79c9o4KJNHVZAB/IGSdXHRcxm8BOEGFNTg Accept: application/json

###

POST http://localhost:8080/tokens/refresh Content-Type: application/json Accept: application/json

{
"refreshToken": "OahiUu+Xr5E9Z97erHzMV26C/8Aw/T74LBopqUvUoQ0"

}

###

POST http://localhost:8080/tokens/activation Content-Type: application/json

{
"email": "cole@email.com"

}

###

POST http://localhost:8080/tokens/activate Content-Type: application/json

{
"activationToken": "QPQLsIY97NLekRfDMpNESk3J/04p0cMsJ/157fz7xjk"

}