Public
Documentation Settings

Rent me

POSTlocalhost:3001/v1/signup

https://aqueous-temple-36685.herokuapp.com/v1/signup

Api endpoint to register a new user in the system

A successful registration will result in a HTTP 200 Status code

HEADERS
Content-Type

application/json

Bodyraw
{
    "user": {
    	"username": "test2345",
        "email": "test2345@collier.net",
        "password": "llllllopl"
    }
}

POSTlocalhost:3001/v1/login

localhost:3001/v1/login

Api endpoint to register new user in the system

A successful registration will result in a HTTP 200 Status code

HEADERS
Content-Type

application/json

Authorization

eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIzNGVlYTZiOC0zNTRjLTQxYTMtYWZjNS1kYTlkZWE0YTg5MGMiLCJzdWIiOiI2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNjU1MTUyNjQ1LCJleHAiOjE2NTUxNTQ0NDV9.UG0zVI26j_gWzD-r_waFhYtlyInZZ5k8yt4Hief1iEM

Bodyraw
{
    "user": {
        "email": "reemoz@collier.net",
        "password": "llllll"
    }
}

GETlocalhost:3001/v1/houses

localhost:3001/v1/houses

Api endpoint to Get all the houses

A successful response Gets all the houses and result in a HTTP 200 Status code

HEADERS
Authorization

Bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIzNGVlYTZiOC0zNTRjLTQxYTMtYWZjNS1kYTlkZWE0YTg5MGMiLCJzdWIiOiI2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNjU1MTUyNzE4LCJleHAiOjE2NTUxNTQ1MTh9.CUy81rR1JPsYZXuewgfSTHCnP_K9aYFMt-F8BeOQqmE

GETlocalhost:3001/v1/houses/:id

localhost:3001/v1/houses/1?=

Api endpoint to Get one house data

A successful response Gets one house data and result in a HTTP 200 Status code

HEADERS
Authorization

Bearer eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIzNGVlYTZiOC0zNTRjLTQxYTMtYWZjNS1kYTlkZWE0YTg5MGMiLCJzdWIiOiI2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNjU1MTUyNzE4LCJleHAiOjE2NTUxNTQ1MTh9.CUy81rR1JPsYZXuewgfSTHCnP_K9aYFMt-F8BeOQqmE

PARAMS
Loading