1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +01:00
examples/databases/mysql/apis/getteller.txt

23 lines
296 B
Plaintext

1.
Linux
curl 'http://localhost:8080/getteller'
2.
Windows
curl http://localhost:8080/getteller
3.
Json response
{
"status_code": 0,
"status_description": "Successful",
"teller_data": [
{
"teller_name": "john doe",
"branch_name": "central business district"
}
]
}