Hello Team,
I am very new to nifi and doing a POC, I am trying to invoke a get request to our rest api by providing Authorization as attribute to invokehttp processor and token as value to that . When I tried to execute I am getting below response
{"timestamp":"2020-08-31T10:26:52.828+0000","status":400,"error":"Bad Request","message":"Missing request header 'Authorization' for method parameter of type String","path":"/v1/category"}
As far as I know providing Authorization as key and tokenas value to invokehttp treats it as dynamic property and send this in header .
I have also tried setting authorization with updateAttribute before and invoking invokehttp which didnt work yet
I am receiving a failure here not sure where I went wrong could you please help .
I have tried executing rest api where auth token is not required and it is working fine .
properties that I set before invokehttp