Skip to content

[juniper_rocket] Document GET request syntax #1098

@ysulyma

Description

@ysulyma

I am using the Juniper Rocket example. The POST endpoint and GraphiQL interface work for me, but I can't figure out how to send a GET request. (I'm also new to using Rocket.) I have tried

/graphql?{}
/graphql?request={}
/graphql?query={}

where {} is a URL-encoded version of

{
  __schema {
    types {
      name
    }
  }
}

and none of these work for me.

An explicit example of a GET request that works would be helpful.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementImprovement of existing features or bugfixk::documentationRelated to project documentationk::exampleRelated to usage examplesk::integrationRelated to integration with third-party libraries or systemslib::rocketRelated to `rocket` crate integration

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions