# API link ### On Ubuntu ``` bash curl http://127.0.0.1:8000/machine/cost/read_all/ ``` http://127.0.0.1:8000/docs#/default/root_Hello_WORLD_get ## POST ### Login for access token http://127.0.0.1:8000/token ``` JSON= { "access_token": "string", "token_type": "string" } ``` ### Account register User http://127.0.0.1:8000/account/register/ ``` JSON= { "email": "string", "password": "string" } ``` ### Create Machine http://127.0.0.1:8000/machine/info/create/ ``` JSON= { "machine_name": "string", "machine_location": "string" } ``` ### Create Machine Washtype http://127.0.0.1:8000/machine/washtype/create/ ``` JSON= { "type": "string" } ``` ### Create Machine Cost http://127.0.0.1:8000/machine/cost/create/ ``` JSON= { "wash_type_id": 0, "machine_id": 0, "cost": "string" } ``` ## GET ### Read Users Me http://127.0.0.1:8000/jwt/user/me/ ### Read Machine All http://127.0.0.1:8000/machine/info/read_all/ ### Read Machine By id http://127.0.0.1:8000/machine/info/read/{machine_id} ### Read Machine All Washtype http://127.0.0.1:8000/machine/washtype/read_all/ ### Read Machine Washtype by id http://127.0.0.1:8000/machine/washtype/read/{washtype_id} ### Read Machine All Cost http://127.0.0.1:8000/machine/cost/read_all/ ### Read Machine By id http://127.0.0.1:8000/machine/cost/read/{cost_id}
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up