Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (21 loc) · 661 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 661 Bytes

Hands on GraphQL Workshop Repo

See client README and server README for more info.

Useful Links

Useful Snippets

fetch('http://localhost:8844/graphql', {
  method: 'POST',
  headers: {
    "Content-Type": "application/x-www-form-urlencoded"
  },
  body: "query=query { viewer { films { title, id } } }"
}).then(
  res => res.text()
).then(
  text => console.log('data:', JSON.parse(text))
);