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:
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user