Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
Description
The code in HttpProducer should be smarter to select the correct method to use.
Algorithm:
1) if the method is provided in a header
2) GET if a querystring is provided in a header
3) GET if endpoint is configured with a query string
4) POST if there is data to send
5) GET fallback to get
Also the HttpOperationFailedException is missing a message, so you get the error code and description in the stack-trace