Hal50000
Hal50000

Reputation: 639

Consuming GraphQL with rails

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?

Upvotes: 1

Views: 654

Answers (1)

user9903
user9903

Reputation:

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/

Upvotes: 1

Related Questions