Created 08-18-2023 11:08 AM
I have an invokehttp setup that validates if a product id exists by calling an api from an external service. Both services (nifi, and django) are authenticated and the call from nifi is authorized by django service.
The only weird issue is that my url in invokehttp: https://<hostname>.com/products?productid=12
works perfectly fine with direct call, but when it's configured in invokehttp it responds with "not found". When I look through my django logs, I can see the request is authenticated and authorized but the call does not include the parameter, rather it includes only https://<hostname>.com/products
I have sslcontext and oauthtokenprovider service configured and working without issues.
I'm a bit confused as to why this isn't working, my only thinking is invokehttp 1.20 requires a different url for parameters? This did work in 1.18 invokehttp.
Created 08-21-2023 06:27 AM
Welcome to the community @john0123. Perhaps @stevenmatison may know the answer here.
Created 08-21-2023 07:09 AM
@john0123 There are several ways to include values with the InvokeHttp call. Custom values in the host/url is not preferred as they may not be noticed there. Try to add productId as a user-defined property. Click the (+) on properties and create it there. Then test again.
Created 08-28-2023 10:46 AM
@john0123 have you been able to resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.