29 lines
		
	
	
		
			687 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			687 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
| 
 | |
| <head>
 | |
|     <meta charset="UTF-8">
 | |
|     <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | |
|     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | |
|     <title>TSRPC Example</title>
 | |
|     <link rel="stylesheet" href="index.css" />
 | |
| </head>
 | |
| 
 | |
| <body>
 | |
|     <h1>Session and Cookie</h1>
 | |
| 
 | |
|     <div class="buttons">
 | |
|         <button id="btnTest">Test</button>
 | |
|         <button id="btnClear">Clear</button>
 | |
|         <button id="btnSetSession">Set Session</button>
 | |
|         <button id="btnSetCookie">Set Cookie</button>
 | |
|     </div>
 | |
| 
 | |
|     <h2>API Request</h2>
 | |
|     <pre class="apiReq"></pre>
 | |
| 
 | |
|     <h2>API Return</h2>
 | |
|     <pre class="apiReturn"></pre>
 | |
| </body>
 | |
| 
 | |
| </html> |