Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 361 Bytes

File metadata and controls

13 lines (10 loc) · 361 Bytes

Rust Api Example

test using follwing commands

Register

 curl -i -H "Content-Type: application/json"  -d '{"username":"username","password":"password"}' http://0.0.0.0:6969/api/v1/register

login

 curl -i -H "Content-Type: application/json"  -d '{"username":"username","password":"password"}' http://0.0.0.0:6969/api/v1/login