We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f199a6 commit cfa959cCopy full SHA for cfa959c
src/api.ts
@@ -397,8 +397,8 @@ export async function pushErrMsg(msg: string, timeout: number = 7000) {
397
398
// **************************************** Network ****************************************
399
export async function forwardProxy(
400
- url: string, method: string, payload: any,
401
- 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"
402
): Promise<IResForwardProxy> {
403
let data = {
404
url: url,
0 commit comments