Skip to content

Instantly share code, notes, and snippets.

@imran103019
Last active April 28, 2016 20:12
Show Gist options
  • Save imran103019/bcf60f3eae6eed20297c7e67bec3d42c to your computer and use it in GitHub Desktop.
Save imran103019/bcf60f3eae6eed20297c7e67bec3d42c to your computer and use it in GitHub Desktop.
Primary
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$.post("http://hdechalange-solve.appspot/challenge/003/endpoint",
{
id: "id103019"
},
function(data,status){
console.log(data);
});
});
});
</script>
</head>
<body>
<button>Send an HTTP POST request</button>
</body>
</html>
{
"gist-url":"https://gist.github.com/imran103019/bcf60f3eae6eed20297c7e67bec3d42c",
"contact-email":"rajs.imran93@gmail.com"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment