Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function resetProductInventory(){
  2. $.ajax({
  3.   type: 'GET',
  4.   url: 'http://wt.ops.few.vu.nl/api/676ceb3a/reset',
  5.   dataType: 'json',
  6.   success: function (){
  7.     alert("Data has been reset.");
  8.    },
  9.    error:function (){
  10.     alert("Data was not reset due to an error");
  11.    }
  12. });
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement