Skip to content

Instantly share code, notes, and snippets.

@psapir
Last active November 12, 2016 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psapir/901e0b90e5b62e3ea572c320bcdb498a to your computer and use it in GitHub Desktop.
Save psapir/901e0b90e5b62e3ea572c320bcdb498a to your computer and use it in GitHub Desktop.
Example of requesting landing pages locally
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="no-js" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Devs United, Inc.</title>
<script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
</head>
<body>
<script>
$(function() {
$.post( "http://pub.s7.exacttarget.com/w2pm5ioz5je", function(data) {
alert(data.message);
});
});
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment