I have a simple nifi flow with HttpRecieveHeandler => *Router* => HttpResponseHeandler
with GET queryes for routing i use RouteOnAttribute, but for POST it didn't work couse RouteOnContent transform HTTP BODY to string. How should i work with JSON in FlowFileContent?
You can extract values from JSON content into attributes using EvaluateJsonPath, then you can use RouteOnAttribute to do routing.
View solution in original post