feat(workflow): enhance HTTP request node with curl debugging support
This commit is contained in:
@@ -132,22 +132,11 @@ class HttpErrorDefaultTemplate(BaseModel):
|
||||
description="Default HTTP headers returned on error",
|
||||
)
|
||||
|
||||
files: list = Field(
|
||||
default_factory=list,
|
||||
description="Default files list returned on error",
|
||||
)
|
||||
|
||||
output: str = Field(
|
||||
default="SUCCESS",
|
||||
description="HTTP response body",
|
||||
)
|
||||
|
||||
curl: str = Field(
|
||||
default="",
|
||||
description="Default curl command returned on error",
|
||||
)
|
||||
|
||||
|
||||
class HttpErrorHandleConfig(BaseModel):
|
||||
method: HttpErrorHandle = Field(
|
||||
default=HttpErrorHandle.NONE,
|
||||
@@ -282,11 +271,6 @@ class HttpRequestNodeOutput(BaseModel):
|
||||
description="HTTP response body",
|
||||
)
|
||||
|
||||
curl: str = Field(
|
||||
default="",
|
||||
description="Equivalent curl command for the HTTP request",
|
||||
)
|
||||
|
||||
# files: list[File] = Field(
|
||||
# ...
|
||||
# )
|
||||
|
||||
Reference in New Issue
Block a user