build ok,
This commit is contained in:
5
002_source/cms/src/app/api/db/lesson_types/list/route.ts
Normal file
5
002_source/cms/src/app/api/db/lesson_types/list/route.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
export const dynamic = 'force-static';
|
||||||
|
|
||||||
|
export async function GET(): Promise<Response> {
|
||||||
|
return Response.json({ hello: 'world' });
|
||||||
|
}
|
17
002_source/cms/src/app/api/db/lesson_types/list/test.http
Normal file
17
002_source/cms/src/app/api/db/lesson_types/list/test.http
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
###
|
||||||
|
|
||||||
|
GET http://localhost:3000/api/db/lesson_types/list
|
||||||
|
|
||||||
|
Content-Type: application/json
|
||||||
|
cache: no-store
|
||||||
|
cache-control: no-cache1
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
GET http://localhost:8090/api/collections/LessonsTypes/records
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
POST http://localhost:3000/api/lesson_types/helloworld
|
||||||
|
|
||||||
|
Content-Type: application/json
|
Reference in New Issue
Block a user