cedric05 / dothttp

dsl for http. https://marketplace.visualstudio.com/items?itemName=ShivaPrasanth.dothttp-code

Home Page:https://docs.dothttp.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphql?

cedric05 opened this issue · comments

one can achieve the same with text breaks. with current usage, its better not to make it complex.

POST 'https://api.spacex.land/graphql' 
json({
    "query":
        """{
          company {
            ceo
            coo
            cto_propulsion
            cto
            """
            // "employees"
            """
            founded
            founder
            launch_sites
            name
            summary
            test_sites
            valuation
            vehicles
          }
        }
  """,
  "variables":null}
)