Update api.ts
This commit is contained in:
parent
1f199a6dcf
commit
cfa959c1a8
1 changed files with 2 additions and 2 deletions
|
@ -397,8 +397,8 @@ export async function pushErrMsg(msg: string, timeout: number = 7000) {
|
|||
|
||||
// **************************************** Network ****************************************
|
||||
export async function forwardProxy(
|
||||
url: string, method: string, payload: any,
|
||||
headers: any[], timeout: number = 7000, contentType: string = "text/html"
|
||||
url: string, method: string = 'GET', payload: any = {},
|
||||
headers: any[] = [], timeout: number = 7000, contentType: string = "text/html"
|
||||
): Promise<IResForwardProxy> {
|
||||
let data = {
|
||||
url: url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue