我正在尝试使用Plivo的API来发送和接收SMS到美国的手机号码。我希望在我的web应用程序中收到他们的回复。就像我们收到来自移动公司的消息,然后通常在同一主题中回复他们的选择。
我使用这段代码来接收回复,但不确定在哪里部署这段代码,或者创建类并将代码放入其中,或者将其调用到我的webservice.asmx中。
using System;
using System.Collections.Generic;
using System.Reflection;
using Nancy;
using RestSharp;
using Plivo.API;
namespace Receive_Sm