test.html 888 B

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title></title>
  6. <script src="/plugins/xeasyui/xeasyui.min.js"></script>
  7. </head>
  8. <body>
  9. <div id="result"></div>
  10. <script>
  11. $(function () {
  12. var settings = {
  13. "url": "index.ashx",
  14. "method": "POST",
  15. "timeout": 0,
  16. "headers": {
  17. "Content-Type": "application/json"
  18. },
  19. "data": JSON.stringify(
  20. {
  21. "Incident": "412",
  22. "AuditStatus": "1",
  23. "Message": "审核不通过"
  24. }
  25. ),
  26. };
  27. $.ajax(settings).done(function (response) {
  28. $('#result').html(JSON.stringify(response));
  29. });
  30. });
  31. </script>
  32. </body>
  33. </html>