Use Bearer token
This commit is contained in:
parent
55e19609e8
commit
303b3cf303
3 changed files with 38 additions and 3 deletions
|
|
@ -1,11 +1,17 @@
|
|||
import { RouteCollection } from "..";
|
||||
import create from "./crud/create";
|
||||
import del from "./crud/delete";
|
||||
import forgot from "./auth/forgot";
|
||||
import login from "./auth/login";
|
||||
import validate from "./auth/validate";
|
||||
import create from "./crud/create";
|
||||
import del from "./crud/delete";
|
||||
import get from "./crud/get";
|
||||
|
||||
const routes: RouteCollection[] = [
|
||||
{
|
||||
httpMethod: "GET",
|
||||
path: "/api/v1/user",
|
||||
handler: get,
|
||||
},
|
||||
{
|
||||
httpMethod: "PUT",
|
||||
path: "/api/v1/user",
|
||||
|
|
|
|||
Loading…
Reference in a new issue