Skip to content

Instantly share code, notes, and snippets.

@tylerjohnst
Created May 3, 2012 19:48
Show Gist options
  • Select an option

  • Save tylerjohnst/2588767 to your computer and use it in GitHub Desktop.

Select an option

Save tylerjohnst/2588767 to your computer and use it in GitHub Desktop.
Using the Fulcrum API from Javascript
<html>
<head>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type="text/javascript" charset="utf-8">
'use strict';
$(document).ready(function() {
$.ajax({
url: 'http://api.fulcrumapp.com/api/v2/forms.json',
headers: { 'X-ApiToken' : 'myApiToken' },
success: function(data) {
$('body').html(JSON.stringify(data));
}
});
});
</script>
</head>
<body></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment