- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Nifi: Setting Status Message for HandleHttpResponse Processor
- Labels:
-
Apache NiFi
Created ‎05-17-2018 10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎05-18-2018 03:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
Created ‎05-18-2018 03:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
Created ‎09-18-2018 12:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
