Created
May 3, 2012 19:48
-
-
Save tylerjohnst/2588767 to your computer and use it in GitHub Desktop.
Using the Fulcrum API from Javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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