Skip to main content
Solved

Is the http client destination missing the http body input?

  • February 3, 2022
  • 1 reply
  • 83 views

xarnthehero
Fan

The http client processor piece has an area to put the http body, but the http destination doesn’t seem to have that same input. Using a PUT method for both.

Best answer by Giuseppe Mura

@xarnthehero actually the HTTP client destination behaves much more like all the other destination - the payload it passes over to the the HTTP endpoint (REST endpoint) is actually the entire content of the record as it is received into the destination; the format is determined by the configuration settings you pick in the Data Format tab, typically it would be set to JSON, if you’re POSTing a REST service.

I hope that makes sense!
 

View original
Did this topic help you find an answer to your question?

1 reply

Giuseppe Mura
StreamSets Employee
Forum|alt.badge.img
  • StreamSets Employee
  • 37 replies
  • Answer
  • February 3, 2022

@xarnthehero actually the HTTP client destination behaves much more like all the other destination - the payload it passes over to the the HTTP endpoint (REST endpoint) is actually the entire content of the record as it is received into the destination; the format is determined by the configuration settings you pick in the Data Format tab, typically it would be set to JSON, if you’re POSTing a REST service.

I hope that makes sense!
 


Reply