1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00
examples/databases/mysql/apis/getbank.txt
2023-07-17 17:55:17 +01:00

24 lines
265 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"
}
]
}