Posted: Wed Oct 25, 2017 8:29 am Post subject: Build HTTP POST using x-www-form-urlencoded w/XML as param
Novice
Joined: 27 Jan 2015 Posts: 16
I need to build a HTTP POST request in ESQL which will pass several parameters in the Body, one of which will be a large XML document passed as a String for the value. By large I mean from .2 up to 25 MB or so.
The service we are calling requires x-www-form-urlencoded as the media type and I've never had the need to pass XML in such a way.
Passing query string params is fairly straightforward in ESQL but there doesn't seem to be an equivalent for setting params in in the message body for a POST.
SET OutputLocalEnvironment.Destination.HTTP.QueryString.param1 = 'myValue';
I could use some tips/examples on how best to accomplish this in ESQL for a POST.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum