1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
examples/databases/mysql/apis/getbranch.txt
2023-07-17 17:55:17 +01:00

24 lines
295 B
Plaintext

1.
Linux
curl 'http://localhost:8080/getbranch'
2.
Windows
curl http://localhost:8080/getbranch
3.
JSON response
{
"status_code": 0,
"status_description": "Successful",
"branch_data": [
{
"branch_name": "hq branch",
"location": "central business district"
}
]
}