Test.Core.Web/pages/CrossDomainCheck.cshtml
(完整代码) 1KB@page
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>CrossDomainCheck</title>
<link href="/common/common.css" rel="stylesheet" />
<script src="/common/jquery-1.10.2.js"></script>
<script src="/common/common.js"></script>
<script src="/common/clipboard.min.js"></script>
<script>
$(document).ready(function () {
$("button").click(function () {
//$.get("http://localhost:8001/api/HttpGetTest", function (data) {
// $("textarea").log("ajax get:" + data.toJsonString());
//});
//$.post("http://localhost:8001/api/HttpPostTest", {}, function (data) {
// $("textarea").log("ajax post:" + data.toJsonString());
//});
//$.delete("http://localhost:8001/api/HttpDeleteTest", function (data) {
// $("textarea").log("ajax delete:" + data.toJsonString());
//});
$.get("http://localhost:5000/api/HttpGetTest", function (data) {
$("textarea").log("ajax get:" + data.toJsonString());
});
$.post("http://localhost:5000/api/HttpPostTest", {}, function (data) {
$("textarea").log("ajax post:" + data.toJsonString());
});
$.delete("http://localhost:5000/api/HttpDeleteTest", function (data) {
$("textarea").log("ajax delete:" + data.toJsonString());
});
});
});
</script>
</head>
<body class="margin50px">
CrossDomainCheck
<hr /><button>botton</button> <hr />
日志:<br />
<textarea class="width800px height600px"></textarea>
<hr />
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。