1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

add mysql example to workspace

This commit is contained in:
Rob Ede
2023-07-17 17:55:17 +01:00
parent 8e736d9ea4
commit dfd925d4c1
18 changed files with 312 additions and 171 deletions

View File

@ -9,9 +9,9 @@ Windows
curl -H "Content-type:application/json" --data-binary "{\"bank_name\":\"Bank ABC\",\"country\":\"Kenya\"}" http://127.0.0.1:8080/addbank
3.
Json response
JSON response
{
"status_code": 0,
"status_description": "Successful"
}
}

View File

@ -10,9 +10,9 @@ curl -H "Content-type:application/json" --data-binary "{\"branch_name\":\"HQ bra
3.
Json response
JSON response
{
"status_code": 0,
"status_description": "Successful"
}
}

View File

@ -10,9 +10,9 @@ curl -H "Content-type:application/json" --data-binary "{\"customer_name\":\"Pete
3.
Json response
JSON response
{
"status_code": 0,
"status_description": "Successful"
}
}

View File

@ -10,9 +10,9 @@ curl -H "Content-type:application/json" --data-binary "{\"teller_name\":\"John D
3.
Json response
JSON response
{
"status_code": 0,
"status_description": "Successful"
}
}

View File

@ -9,7 +9,7 @@ Windows
curl http://localhost:8080/getbank
3.
Json response
JSON response
{
"status_code": 0,
@ -20,4 +20,4 @@ Json response
"country": "kenya"
}
]
}
}

View File

@ -9,7 +9,7 @@ Windows
curl http://localhost:8080/getbranch
3.
Json response
JSON response
{
"status_code": 0,
@ -20,4 +20,4 @@ Json response
"location": "central business district"
}
]
}
}

View File

@ -9,7 +9,7 @@ Windows
curl http://localhost:8080/getcustomer
3.
Json response
JSON response
{
"status_code": 0,
@ -20,4 +20,4 @@ Json response
"branch_name": "central business district"
}
]
}
}

View File

@ -9,7 +9,7 @@ Windows
curl http://localhost:8080/getteller
3.
Json response
JSON response
{
"status_code": 0,
@ -20,4 +20,4 @@ Json response
"branch_name": "central business district"
}
]
}
}