Skip to content

Instantly share code, notes, and snippets.

@sam43
Forked from imran103019/index.php
Last active April 28, 2016 20:21
Show Gist options
  • Save sam43/ca38a5b1ab5c74eda22b158537beb782 to your computer and use it in GitHub Desktop.
Save sam43/ca38a5b1ab5c74eda22b158537beb782 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/sam43/797b4322b9463c328e55b6e9628aa84c",
"contact-email":"sayemruet.103043@gmail.com"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment