Skip to main content
Feedback

HTTP configuration

Updated 

Use the HTTP communication method to configure how your process connects to an external HTTP or HTTPS endpoint. This configuration defines where your process sends requests or listens for incoming HTTP messages.

To set up HTTP as a communication method for a trading partner, you can use default settings, shared communication, or manually configure specific settings in the Edit HTTP Configuration dialog. The dialog opens from within the trading partner Communication tab when you add HTTP as a communication method or click HTTP in the Communication Method list.

the edit HTTP configuration panel, showing settings, ssl options, and advanced settings sections

The HTTP Communication Method enables your process to send, receive, or listen for data using the HTTP or HTTPS protocol.

You can configure it in one of three modes:

  • Get – Retrieve data from an external service.

  • Send (POST, PUT, DELETE) – Send data to an external service.

  • Listen – Receive data when an external system sends a request to your runtime.

Settings

  • URL - The URL defines the full address of the HTTP service where the process sends requests or listens for incoming messages.

    For Get and Send actions, the system sends the request to the target endpoint identified by the URL.

    For Listen actions, the URL defines the relative path where your runtime receives incoming requests.

    ModeExample URLDescription
    Gethttps://api.tp-company.com/v1/customersRetrieves data from the TP API
    Send (POST)https://api.tp-company.com/v1/ordersSends order data to the TP API
    Listen/api/documents/receiveReceives incoming documents from external applications
  • Authentication Type - The type of authentication the HTTP service uses:

    • None
    • Basic - Uses a User Name and Password for authentication.
    • Password Digest - Uses a User Name and Password for authentication.
    • Custom - Uses a User Name and Password for authentication.
    • OAuth - Refer to the OAuth settings section below.
    • OAuth 2.0 - Refer to the OAuth 2.0 settings section below.

OAuth settings

  • Request Token URL - The URL used to get an unauthorized request token.
  • Access Token URL - The URL used to exchange the user-authorized request token for an access token.
  • Authorization URL - The URL where the user grants the consumer access.
  • Consumer Key - A value that identifies the consumer to the service provider.
  • Consumer Secret - A secret value that proves the consumer owns the Consumer Key.
  • Access Token - A value that lets the consumer access protected resources on the user's behalf. Use the Generate button to create the token.
  • Token Secret - A secret value that proves ownership of the Access Token.
  • Suppress Blank Access Token? - When selected, the OAuth header is generated without the empty access token and secret fields. When cleared, those empty fields are included in the header.
  • Realm - An optional value identifying the caller, most often a company ID.
  • Signature Method - The algorithm used to sign requests: HMAC-SHA256 or HMAC-SHA1. Boomi recommends using HMAC-SHA256 when supported by the service.

OAuth 2.0 settings

tip

Use OAuth 2.0 for production integrations as it provides token-based access and securely rotates credentials without requiring process updates.

  • Grant Type - The type of grant used by the service.

    • Authorization Code - The standard, 3-Legged OAuth2 authorization where you grant the client an authorization code that can be exchanged for an access token.
    • Resource Owner Credentials - Requires a username and password.
    • Client Credentials - Uses client credentials to retrieve an access token directly instead of asking for user authorization. This authorization is typically used for administration tasks specific to a client.
  • Client ID - The client ID obtained from the application.

  • Client Secret - The client secret obtained from the application.

  • Authorization Token URL (Authorization Code) - The endpoint URL to use to obtain an authorization token.

  • Scope - You can add one or more permissions, which are case-sensitive and separated by a space, to application request URLs. If you change scope permissions, you must re-authenticate to ensure that all requested permissions are granted.

  • Add Authorization Parameter (Authorization Code) - The name and value of extensible endpoint parameters.

  • Access Token URL (Authorization Code) - The endpoint address provided by the application to make API requests.

  • Add Access Token Parameter - The name and value of additional or custom token parameters required by your application.

  • Access Token (Authorization Code and Resource Owner Credentials) - The encrypted access token retrieved from the application that is used to access protected resources.

    Click Generate to retrieve the access token. A new window opens asking you to confirm offline access. Click Accept. A second message indicates the access token was received and successfully generated.

info
  • OAuth 2.0 is not backward compatible with OAuth 1.0 or 1.0a.
  • If your account uses custom policy files, you must edit account permissions to enable OAuth 2.0 authentication for your cloud application.
  • OAuth 2.0 settings in Boomi are extensible, allowing advanced configuration and token customization.

SSL Options

SSL options control how the runtime authenticates and secures HTTPS connections using client and server certificates during SSL/TLS communication.

  • Use Client SSL Authorization - If selected, the connection adds the private certificate you select in Client SSL Certificate. Use this option if your endpoint requires client authentication.

    • Client SSL Certificate (Available if Use Client Authorization is selected) - Select, edit, or create a private certificate component for SSL Client Authentication. Your private certificate is used to verify your identity when sending requests to the endpoint. To set up a client authentication, you must manually export your public certificate and provide it to your endpoint owner. Refer to Certificate components for more information.
  • Use Trusted SSL Certificate - If selected, the connection adds the public certificate you select in Trust SSL Server Certificate. Use this option if your endpoint uses a self-signed certificate that is not provided by a trusted root certification authority.

    • Trust SSL Server Certificate (Available if Use Trusted SSL Certificate is selected) - Select, edit, or create a public certificate component for SSL server authentication. Contact the owner of the endpoint to obtain its public certificate and then import it into a certificate component. Refer to Certificate components for more information.

Advanced

  • Connect Timeout (ms) - The amount of time, in milliseconds, before the connection times out. Leave this field blank to use the defaults. A value of 0 indicates an infinite connection timeout.

  • Read Timeout (ms) - The amount of time, in milliseconds, the connection waits for an HTTP read request to complete before it times out. Leave this field blank to use the defaults. A value of 0 indicates an infinite read timeout.

Listen Options

  • Use Default Listen Options - If selected, the settings in this section are not visible; this partner uses the settings configured for whichever My Company it is paired with on a Start or Trading Partner step.

Get and Send Options

  • Use Default Get Options - If selected, the settings in this section are not visible; this partner uses the settings configured for whichever My Company it is paired with on a Start or Trading Partner step.

  • Use Default Send Options - If selected, the settings in this section are not visible; this partner uses the settings configured for whichever My Company it is paired with on a Start or Trading Partner step.

Get and Send options include the following fields:

  • Select Request Profile Type - The request profile type: None, JSON, or XML.

    • Request Profile - Select the JSON or XML profile to use for this partner. Refer to JSON profiles or XML profiles for more information.
  • Select Response Profile Type - The response profile type: None, JSON, or XML.

    • Response Profile - Select the JSON or XML profile to use for this partner. Refer to JSON profiles or XML profiles for more information.
  • Content Type - The type of file being sent:

    • text/xml
    • text/plain
    • text/html
    • application/binary
    • application/edifact
    • application/edi-x12
    • application/xml
    • application/json
    • application/x-www-form-urlencoded
  • HTTP Method - The request type: GET, POST, PUT, or DELETE.

  • Return HTTP Errors - When cleared, a 300, 400, or 500 status code fails the process. When selected, the process continues, and the status code and message are recorded in document properties so you can handle them with Try/Catch, Decision, or Message steps.

  • Follow Redirects - Works with Return HTTP Errors. When selected, the connector follows redirects to alternate locations, such as when a listener is down.

  • Return HTTP Responses - (Send only) When selected, the response for 100- and 200-level codes is recorded in document properties. When cleared, the input document passes through as the output document.

  • Request Headers - Name-value pairs sent with the request. Each value is either static or a replacement variable filled from the step's Parameters tab.

  • Resource Path - Path elements added to the base URL from the connection. The connector inserts the forward slash between them. Elements can also be replacement variables.

  • Response Headers Mapping - Reads named response headers (not case-sensitive) and stores each value in a dynamic document property you name (case-sensitive).

  • Response Headers to Use in Subsequent Requests - Forwards response headers, such as CSRF tokens, as request headers on later requests. The first request always uses the headers defined in the operation.

  • Data Processing Options - Add, edit, delete, or reorder the data processing steps after receiving the data and before decrypting the data. For more information, refer to Data Process step.

Common issues

ProblemPossible CauseResolution
401 UnauthorizedInvalid username or passwordVerify credentials and authentication type
404 Not FoundIncorrect URL or endpoint pathCheck endpoint spelling or base path
TimeoutNetwork or firewall restrictionsEnsure runtime can reach the URL
500 Internal Server ErrorIssue at remote APIContact API owner or retry later
On this Page