| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>main_entiity</title>
- <script src="./test.js"></script>
- <script>
- $(document).ready(function() {
- $('#get').click(function() {
- doget();
- });
- $('#put').click(function() {
- doput();
- });
- $('#post').click(function() {
- dopost();
- });
- $('#delete').click(function() {
- dodelete();
- });
- });
- </script>
- </head>
- <body>
- <div style="float: left; width: 720px;">
- <div style="width: 100%;">
- <table border="1" style="width:100%">
- <tr>
- <td>URL:</td>
- <td>/jaxrs/<input type="text" id="url" style="width:95%"/></td>
- </tr>
- <tr>
- <td colspan="2">
- <button id="get">GET</button>
- <button id="post">POST</button>
- <button id="put">PUT</button>
- <button id="delete">DELETE</button>
- </td>
- </tr>
- <tr><td colspan="2"><textarea id="content" style="width:97%;height:300px">{}</textarea></td></tr>
- <tr><td colspan="2"><textarea id="result" style="width:97%;height:400px"></textarea></td></tr>
- </table>
- </div>
- </div>
-
-
- </body>
- </html>
|