这是一个简单的Html。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form method="POST" action="https://sm.ms/api/upload" enctype="multipart/form-data">
<input name="smfile" type="file">
<input type="submit" name="upload">
</form>
</body>
</html>
&#13;
当我将图像发布到服务器(第三方)时, 服务器(第三方)返回了json 并改变了我的网站..
{
code: "success",
data: {
width: 440,
height: 440,
filename: "timg.jpg",
storename: "5a7b1807506b2.jpg",
size: 11941,
path: "/2018/02/07/5a7b1807506b2.jpg",
hash: "m8FqIYBGWL1HDrT",
timestamp: 1518016519,
ip: "111.29.138.47",
url: "https://i.loli.net/2018/02/07/5a7b1807506b2.jpg",
delete: "https://sm.ms/delete/m8FqIYBGWL1HDrT"
}
}
&#13;
我的问题是如何将这个json发布到我的背景以及如何不改变我的网页..