Skip to content

Instantly share code, notes, and snippets.

@RichLogan
Created May 6, 2014 04:23
Show Gist options
  • Save RichLogan/0d7552343a1ab473fa14 to your computer and use it in GitHub Desktop.
Save RichLogan/0d7552343a1ab473fa14 to your computer and use it in GitHub Desktop.
Example get
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.get( "http://playpaloalto.com/api/v1/login", { "username": "fraferra@cisco.com", "password": "1" } ).done(function( data ) {
alert("Data Loaded: " + data['message']);
});
});
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment