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

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