#[post]
Define a POST route handler
#[post("/users")] async fn create_user(body: Json<CreateUser>) -> Json<User> { // handler code }