running so far
This commit is contained in:
1 parent
31b47e892d
commit
8b121c9e6e
16 files changed
+134
-18
No files matched your search
@@ -2,6 +2,10 @@ use super::path::Path;
|
||||
use actix_web::web;
|
||||
mod create;
|
||||
|
||||
/// curl --header "Content-Type: application/json" \
|
||||
/// --data '{"name":"Mike","email": "email@local.local", "password":"secret"}' \
|
||||
/// http://localhost:8001/api/v1/user/create -v
|
||||
///
|
||||
pub fn user_factory(app: &mut web::ServiceConfig) {
|
||||
let base_path: Path = Path {
|
||||
prefix: String::from("/user"),
|
||||
|
||||
Reference in new issue
Block a user