Skip to content

Instantly share code, notes, and snippets.

@aronwoost
Created April 24, 2015 14:27
Show Gist options
  • Select an option

  • Save aronwoost/116c17f9d98ae2c61eb7 to your computer and use it in GitHub Desktop.

Select an option

Save aronwoost/116c17f9d98ae2c61eb7 to your computer and use it in GitHub Desktop.

Revisions

  1. aronwoost created this gist Apr 24, 2015.
    12 changes: 12 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    // copy-paste into console
    fetch('https://api.github.com/gists', {
    method: 'post',
    headers: {
    'Accept': 'application/json',
    'Content-Type': 'application/json'
    },
    body: JSON.stringify({
    name: 'Hubot',
    login: 'hubot',
    })
    })