Ask Your Question
1

How to get response status code from HTTP Client processor?

asked 2018-06-27 17:53:57 -0500

anonymous user

Anonymous

I use a HTTP client processor to post data and need the response status code from the rest call in the following stage. How should I access this? I do not see status code in output field of header output field.

edit retag flag offensive close merge delete

Comments

What version of Data Collector are you using?

metadaddy gravatar imagemetadaddy ( 2018-06-27 18:00:15 -0500 )edit

streamsets-datacollector-3.3.0

dmrhimali gravatar imagedmrhimali ( 2018-06-27 18:06:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-06-27 18:18:11 -0500

metadaddy gravatar image

I just checked, and you are right - we add all the HTTP headers as record header values, but not the HTTP response code. Please create an issue at https://issues.streamsets.com/ and we can take a look at adding this.

edit flag offensive delete link more

Comments

I see that a Jira ticket was created in May 2019 almost a year after this post. It is a very common practice (boarding on a standard) that reaction to HTTP request begin with the HTTP response code. Please put pressure on getting this fixed. Need to do lots of workaround to use the HTTP client.

daveh gravatar imagedaveh ( 2019-08-13 06:10:26 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-06-27 17:53:57 -0500

Seen: 128 times

Last updated: Jun 27 '18