Hi All,
I am trying to retrieve records using an API from NiFi(1.8 version). I tried using GetHTTP processor but could not fetch the records. However I am able to fetch the records using CURL command,
Example-
CURL - curl -v -X GET --insecure --header 'Accept: application/json' --header 'Authorization: Bearer Mzo3ZTIxNTUzN2M2MTZmNDc1NjEzNDBhYzZjMjJmMDhmNzoxMjg1NzUyOjAtYWI1MDk2MzkwZD' 'https://host.uk.dev.net/api/v1.1/data/search?query=search%20Host&limit=100'
NiFi GetHTTP processor configuration -
URL - https://host.uk.dev.net/api/v1.1/data/search?query=search%20Host&limit=100
Filename - test
SSL Context Service - Configured StandardRestrictedSSLContextService controller service with the below values,
Truststore Filename - /usr/lib/jvm/jre/lib/security/cacerts
Truststore Password - changeit
Truststore Type - JKS
Rest of the parameters in the controller service & processor are set to default values.
Could you please let me know if the above configuration is correct?
Thanks