17 lines
370 B
Rust
Raw Normal View History

use axum::body::Body;
2024-06-16 20:19:03 +02:00
use axum::response::Response;
2024-06-05 22:09:12 +02:00
use axum::Router;
use axum::routing::post;
pub fn router() -> Router<()> {
Router::new()
.nest("/table", Router::new()
.route("/", post(table)),
)
}
// TODO Json Deserialize not working on Axum? Manually parse the body?
async fn table(body: Body) -> Response {
unimplemented!()
2024-06-05 22:09:12 +02:00
}