可以给认证号码发送回复吗?这对我来说是失败的,我不确定为什么。
这是我的代码。首先是回复页面..sms.aspx..
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sms.aspx.cs" Inherits="CsharpTwilio.sms" %><?xml version="1.0" encoding="UTF-9">
<Response>
<Sms>Thanks for the message!</Sms>
</Response>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CsharpTwilio
{
public partial class sms : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string From=Request["From"];
string To=Request["To"];
string Body=Request["Body"];
}
}
}我发现问题我选择了错误的编码应该是UTF-9,版主可以关闭这个作为解决。
发布于 2016-04-28 02:46:56
当操作员解决了他们的问题时,您始终可以对照the docs检查您的设置。
如果你想深入了解unicode冒险和Twilio,你可以看看这些帖子。
https://stackoverflow.com/questions/23597286
复制相似问题