anchor.diff:  
   function register() {
   
  +	var regtarget = $("#regtarget").val();
  +
   	var username = $("#regusername").val();
   	var password = $("#regpassword").val();
   
  -	$.post("/register", {"username":username,"password":password})
  +	$.post(regtarget, {"username":username,"password":password})
   	.done(function() {
   		alert("success!");
   	})
  
positive.code: 
  function logout() {
  
  	$.post("/logout")
  	.done(function() {
  		alert("success!");
  	})
  
negative.code: <input id="regusername" type="text" size="20" value="testuser1">
  <input id="regpassword" type="password" size="20" value="secret">
  <input id="regname" type="text" size="20" value="My Name">
  <input id="regemail" type="text" size="20" value="my@email.com"><br>
  <input id="regtarget" type="text" size="40" value="http://localhost:8111/register"></p>
  <hr>
  <p><button onclick="login();">login:</button>
  <input id="logusername" type="text" size="20" value="testuser1">
  <input id="logpassword" type="password" size="20" value="secret"><br>
  <input id="logintarget" type="text" size="40" value="http://localhost:8111/login"></p>
  <hr>
  <p><button onclick="logout();">logout:</button><br>
  <input id="logouttarget" type="text" size="40" value="http://localhost:8111/logout"></p>
  <hr>
  <p><button onclick="post();">http post:</button> <button onclick="put();">http put:</button>
  <button onclick="get();">http get:</button> <button onclick="delet();">http delete:</button>
  