1
0
mirror of https://github.com/actix/examples synced 2025-02-08 20:06:07 +01:00
examples/databases/mysql/apis/getcustomer.txt

23 lines
306 B
Plaintext

1.
Linux
curl 'http://localhost:8080/getcustomer'
2.
Windows
curl http://localhost:8080/getcustomer
3.
Json response
{
"status_code": 0,
"status_description": "Successful",
"customer_data": [
{
"customer_name": "peter paul",
"branch_name": "central business district"
}
]
}