Post方法调用公司发Mail的接口
调用公司发Mail的接口。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="jquery-1.9.1.min.js" type="text/javascript"></script> <script type="text/javascript"> $.ajax({ //url:"http://localhost:5200/api/Send", url: "http://service.finance365.com/api/Send", type: 'POST', dataType: "json", //data: { apiname: "Message", mobile: "13381837817", content: "接口API测试Message" }, data: { apiname: "EMail", subject: "接口API测试EMail_Subject", email: "qindalong@finance365.com", content: "接口API测试EMail_Content",company:"xxx公司"}, success: function (data) { console.info(data); } }) </script> <title>无标题文档</title> </head> <body> </body> </html>