Created 07-27-2020 02:20 AM
Hello ,
I dont have much knowledge about Graphql APIs.
I need help about How to access these APIs with Http request?
How to send query/mutation to graphql API to get a JWT?
and can NIFI Invoke HTTP processor send request to these APIs?
Please let me know if someone knows about it .
Thanks and Regards,
Created 07-30-2020 01:50 AM
Hello @Pr1 ,
thank you for your enquiries about Graphql API access via REST and NiFi REST interactions.
Found this article about GraphQL via REST and the NiFi REST API Reference documentation.
Have you seen these already?
Thank you:
Ferenc
Ferenc Erdelyi, Technical Solutions Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created on 10-31-2023 10:47 AM - last edited on 10-31-2023 01:56 PM by DianaTorres
If you're not afraid to get your hands dirty, you can use InvokeHttp
Here's a very simple example:
{"query": "query { users { me { email } } }"}
Created 12-06-2023 02:34 AM
If you want to GET the data form the GraphQL by using CURL:
Then Choose InvokeHTTP Processor.
HTTP Method: GET
HTTP URL: Your URL?query={queryUser{attribute1,attribute2,attribute3}}
Socket Connect Timeout : 5 mins
By this you can get data in the Response Relationship.