Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. senorcodecat created this gist Jul 19, 2017.
    15 changes: 15 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    {
    method: 'post',
    headers: {
    'content-type': 'application/json'
    },
    body: JSON.stringify({
    query: `
    query {
    allPrograms {
    id
    video
    }
    }
    `
    }