1
0
mirror of https://github.com/actix/examples synced 2024-12-02 18:02:22 +01:00
examples/databases/mysql/apis/getbank.txt

23 lines
264 B
Plaintext

1.
Linux
curl 'http://localhost:8080/getbank'
2.
Windows
curl http://localhost:8080/getbank
3.
Json response
{
"status_code": 0,
"status_description": "Successful",
"bank_data": [
{
"bank_name": "bank abc",
"country": "kenya"
}
]
}