Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Nifi: Setting Status Message for HandleHttpResponse Processor

avatar
New Member

Hey Guys,


In addition to sending back the status code (which I do with HandleHttpResponse => Http Response Code"), I would like to set a custom status message. For example:

Status: 400

Status Message: "You are not authorized"

Any pointers would be appreciated.

1 ACCEPTED SOLUTION

avatar
New Member

@Sonny Chee

You can send the status message as part of Dynamic Properties, this would be added to HTTP header.

-

If you found this answer has addressed your question, please take a moment to log in and click the "accept" link on the answer.

Thanks

Kiran

View solution in original post

2 REPLIES 2

avatar
New Member

@Sonny Chee

You can send the status message as part of Dynamic Properties, this would be added to HTTP header.

-

If you found this answer has addressed your question, please take a moment to log in and click the "accept" link on the answer.

Thanks

Kiran

avatar
New Member

@Kiran Nittala, @Sonny Chee, What exactly would I need to name the dynamic property to have its content sent as the HTTP status message?

Thanks,

Lars