Upload via HTTP

One of the output options for a configured channel is to upload files directly via HTTP.

To complete the configuration, follow the 'Next' prompts in the 'Output configuration' popup after selecting the desired output type and completing the required fields.

The parameters found in the 'HTTP settings' screen for the receiver must be populated to create the receiver. The setting information required is the same for 'All products' and 'New and updated products.'

Product type

When a user submits via the given receiver, the request can be configured to send one product per request or all products in the request.

Method and URL

You can select 'PUSH' or 'PUT' for the request method and a URL end point.

Output template

Select the output template, which will act as a body in the request.

Parameters, headers, and authentication

Parameters, headers, and authentication information must be supplied where necessary. Query parameters are used to filter and sort the data connected to a product, and path params are used to identify a specific resource. Query params are used when retrieving multiple resources, while path params are typically used when retrieving a single resource.

  • Query Params -- Query parameters are appended to the end of the request URL, following the '?' character, and listed in key value pairs. The following value information can also be accessed by hovering over the question mark icon that displays to the right of the 'Query Params' parameter label:

    • Static values: text values provided in value input

    • Dynamic values: values that point to specific product attribute value and can be used with following syntax: {{product.<attributeID>}}

  • Path Params -- To add path parameters, enter the name into the URL field directly following a colon. For example, "/product/:id". The following value information can also be accessed by hovering over the question mark icon that displays to the right of the 'Path Params' parameter label:

    • Static values: text values provided in value input

    • Dynamic values: values that point to specific product attribute value and can be used with following syntax: {{product.<attributeID>}}

  • Headers -- Headers provide additional metadata about the operation you are performing. The following value information can also be accessed by hovering over the question mark icon to the right of the 'Headers' parameter label:

    • Static values: text values provided in value input

    • Dynamic values: values that point to specific product attribute value and can be used with following syntax: {{product.<attributeID>}}

  • Authentication -- The Authentication method specifies the security protocol to be used. Three types of authentication methods are available:
    • No authentication
    • Basic authentication
    • Send request to get a bearer token

A user can now select 'Skip Bearer prefix in header' with the following description: 'This will allow you to send token in Authorization header without Bearer prefix.' This checkbox is placed below the 'Token name' input field in the Authentication section of an HTTP delivery method configuration.

With this option, a user can input different prefixes and send them together with the token.

Asset settings

For the HTTP receiver, only 'Download zip-file' is not an applicable option for asset delivery.

Products batch size: user can choose how many products will be sent in a single submission.