Let's say someone has setup a GraphQL endpoint. I want send and consume GraphQL queries from within my Rails application, as opposed to using React and Relay.
Are there examples of this, or known gems or libraries?
Let's say someone has setup a GraphQL endpoint. I want send and consume GraphQL queries from within my Rails application, as opposed to using React and Relay.
Are there examples of this, or known gems or libraries?
You can send an HTTP request to the GraphQL that's structured in the proper query structure as specified by the GraphQL specification: http://graphql.org/docs/queries/