@@ -38,10 +38,10 @@ type HttpRequestProps = ModuleDispatchProps<{
3838 [ NodeInputKeyEnum . abandon_httpUrl ] : string ;
3939 [ NodeInputKeyEnum . httpMethod ] : string ;
4040 [ NodeInputKeyEnum . httpReqUrl ] : string ;
41- [ NodeInputKeyEnum . httpHeaders ] : PropsArrType [ ] ;
42- [ NodeInputKeyEnum . httpParams ] : PropsArrType [ ] ;
43- [ NodeInputKeyEnum . httpJsonBody ] : string ;
44- [ NodeInputKeyEnum . httpFormBody ] : PropsArrType [ ] ;
41+ [ NodeInputKeyEnum . httpHeaders ] ? : PropsArrType [ ] ;
42+ [ NodeInputKeyEnum . httpParams ] ? : PropsArrType [ ] ;
43+ [ NodeInputKeyEnum . httpJsonBody ] ? : string ;
44+ [ NodeInputKeyEnum . httpFormBody ] ? : PropsArrType [ ] ;
4545 [ NodeInputKeyEnum . httpContentType ] : ContentTypes ;
4646 [ NodeInputKeyEnum . addInputParam ] : Record < string , any > ;
4747 [ NodeInputKeyEnum . httpTimeout ] ?: number ;
@@ -76,10 +76,10 @@ export const dispatchHttp468Request = async (props: HttpRequestProps): Promise<H
7676 params : {
7777 system_httpMethod : httpMethod = 'POST' ,
7878 system_httpReqUrl : httpReqUrl ,
79- system_httpHeader : httpHeader ,
79+ system_httpHeader : httpHeader = [ ] ,
8080 system_httpParams : httpParams = [ ] ,
81- system_httpJsonBody : httpJsonBody ,
82- system_httpFormBody : httpFormBody ,
81+ system_httpJsonBody : httpJsonBody = '' ,
82+ system_httpFormBody : httpFormBody = [ ] ,
8383 system_httpContentType : httpContentType = ContentTypes . json ,
8484 system_httpTimeout : httpTimeout = 60 ,
8585 [ NodeInputKeyEnum . addInputParam ] : dynamicInput ,
0 commit comments