Skip to main content

Create-HTTP-Client

🌐 HTTP Integration Plugin – Create HTTP Client​

Summary (SEO Meta Description):
The HTTP Integration Plugin’s Create HTTP Client action in WeHub allows workflows to call external HTTP services.
Configure connection, path, method, headers, and payload to integrate with REST APIs.


Overview​

The Create HTTP Client action lets you invoke external HTTP endpoints directly from a workflow.
It supports common HTTP methods (GET, POST, PUT, PATCH, DELETE) and allows customization of paths, payloads, and headers.

This action is essential for integrating third-party APIs, sending requests to internal services, or triggering webhooks.


βš™οΈ Configuration Options​

FieldTypeDescription
Select ConnectionConnectionChoose or create an HTTP connection (base URL, authentication).
LabelStringCustom name for the node (e.g., "Call FHIR API").
PathStringRelative path appended to the base URL (e.g., /Patient).
MethodEnumHTTP method: GET, POST, PUT, PATCH, DELETE.
Override PathBoolean (Toggle)If enabled, dynamically override the configured path at runtime.
Static PayloadBoolean (Toggle)Use a fixed payload instead of workflow context variables.
PayloadJSON / StringRequest body payload (applies to non-GET methods).
HeadersKey/Value (String)Custom request headers (e.g., Authorization, Content-Type).

πŸ’‘ Example Use Cases​

  • Healthcare β†’ Call FHIR endpoints (GET /Patient) to fetch clinical data.
  • Finance β†’ Post transaction records to payment APIs.
  • Ops β†’ Trigger a webhook in Slack, Teams, or monitoring services.
  • ETL β†’ Push processed workflow results into external systems via API.

FAQ​

Q: Can I use dynamic values in path and payload?
A: Yes. Both fields support variable substitution from workflow context.

Q: What happens if the endpoint is unavailable?
A: The action will fail, and error handling/retry policies can be applied.

Q: Is authentication supported?
A: Yes. Authentication is handled via the connection configuration (e.g., API keys, Bearer tokens).


Keywords: WeHub HTTP Integration, HTTP Client, API call, REST integration, webhook