Added gocli output (untested)

This commit is contained in:
2020-11-06 20:16:52 -03:00
parent a18faee98e
commit 539cdc478e
10 changed files with 478 additions and 283 deletions
+3 -3
View File
@@ -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