Guest User

Simple SAFE API index.html

a guest
Aug 25th, 2016
117
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.     <head>
  3.         <title>Simple Safe API example</title>
  4.         <script src="simple_safe.js"></script>
  5.     </head>
  6.     <body>
  7.         <center>
  8.             <h1>Simple SAFE API example</h1>
  9.             <div>
  10.                 <button id="auth_button">Authorize</button>
  11.             </div>
  12.             <div>
  13.                 File name<input type="text" id="filename">
  14.             </div>
  15.             <div>
  16.                 File content<input type="text" id="content">
  17.             </div>
  18.             <div>
  19.                 <button id="nfs_post_button">Post</button>
  20.                 <button id="nfs_get_button">Get</button>
  21.                 <button id="nfs_delete_button">Delete</button>
  22.             </div>
  23.             <div id="response">
  24.             </div>
  25.         </center>
  26.     </body>
  27. </html>
RAW Paste Data