1
0
mirror of https://github.com/actix/examples synced 2025-02-25 10:32:49 +01:00
examples/databases/mysql/apis/getbranch.txt

23 lines
294 B
Plaintext
Raw Normal View History

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"
}
]
}