我为推送通知编写了API,它在本地IIS服务器上正常工作,
在我将该API移动到实时应用程序之后,它会给我一些错误 ""无法解析远程名称:' fcm.googleapis.com'""
但本地IIS工作正常我不知道该错误我在开发模式下检查所有内容没有错误。
EmpLeavesEntities Db = new EmpLeavesEntities();
string UdeviceID = Db.cst_LoginDetails.Where(x => x.Emp_ID == msg.EmpID).FirstOrDefault().DTokenID;
if (UdeviceID != null)
{
var applicationID = ConfigurationManager.AppSettings["applicationID"];
var senderId = ConfigurationManager.AppSettings["senderID"];
string deviceId = UdeviceID;
//ConfigurationManager.AppSettings["deviceID"].ToString();
WebRequest tRequest = WebRequest.Create(ConfigurationManager.AppSettings["createUrl"].ToString());
tRequest.Method = "POST";
tRequest.ContentType = "application/json";
帮帮我..