Added gocli output (untested)
This commit is contained in:
1 parent
a18faee98e
commit
539cdc478e
10 files changed
+478
-283
No files matched your search
+3
-3
@@ -82,10 +82,10 @@ async function InvokeOk(path: string, method: HTMLMethod, body?: any): Promise<b
|
||||
|
||||
//#region Types
|
||||
export interface ARequestStruct {
|
||||
c:Date
|
||||
d:string
|
||||
a:string
|
||||
b:number
|
||||
c:Date
|
||||
d:string
|
||||
}
|
||||
|
||||
export interface AResponseStruct {
|
||||
@@ -101,7 +101,7 @@ export interface AResponseStruct {
|
||||
/**
|
||||
SomeAPI*/
|
||||
export async function SomeAPI(req:ARequestStruct):Promise<AResponseStruct>{
|
||||
return InvokeJSON("","POST",req)
|
||||
return InvokeJSON("/someapi","POST",req)
|
||||
}
|
||||
|
||||
//#endregion
|
||||
Reference in new issue
Block a user