Calling using GET or POST

Talend ESB Mediation Developer Guide

EnrichVersion
6.2
EnrichProdName
Talend ESB
task
Design and Development
Installation and Upgrade
EnrichPlatform
Talend ESB

The following algorithm is used to determine whether the GET or POST HTTP method should be used:

  1. Use method provided in header.

  2. GET if query string is provided in header.

  3. GET if endpoint is configured with a query string.

  4. POST if there is data to send (body is not null).

  5. GET otherwise.