API使用Nexmo在C#中从计算机发送短信 [英] API send SMS from computer using Nexmo in C#

查看:153
本文介绍了API使用Nexmo在C#中从计算机发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在nexmo网站上注册的c#i中从窗口表单应用程序发送短信

有一些安全方法

api_key

api_secret



HTTP请求

https:// rest.nexmo.com/sms/json [ ^ ]

how can I send SMS from window form application in c# i registered in nexmo site
there are some security method
api_key
api_secret

HTTP Request
https://rest.nexmo.com/sms/json[^]

推荐答案

您是否阅读过他们的文档?我怀疑。

再试一次: https:// docs。 nexmo.com/index.php/messaging-sms-api/send-message [ ^ ] ...并向下滚动至少示例
Have you read their documentation? I doubt.
Try again: https://docs.nexmo.com/index.php/messaging-sms-api/send-message[^]... and scroll down at least to the example.


删除{} from statement,所以它将是

String url =https://rest.nexmo.com/sms/xml?api_key=2dc66b7a&api_secret=0c8e9471&from=Rabee3.f1@gmail.com&to=963992787545&text = D%c3%a9j%c3%a0 + vu;
Remove { } from statement, so it will be
String url = "https://rest.nexmo.com/sms/xml?api_key=2dc66b7a&api_secret=0c8e9471&from=Rabee3.f1@gmail.com&to=963992787545&text=D%c3%a9j%c3%a0+vu";


嗨老兄,



我搞定了..



只需删除secret_key和api_key之前和之后的{和},并在手机号码前加上国家代码! :D



就是这样!!
Hi dude,

I got it working..

Just remove the { and } before and after the secret_key and the api_key and include "Country code" before the mobile number!! :D

That's it!!


这篇关于API使用Nexmo在C#中从计算机发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆