当前位置:网站首页>PHP - curl copy paste access SMS verification code example
PHP - curl copy paste access SMS verification code example
2020-11-09 19:22:00 【To work is to master people】
Due to the need of the project , I found an access example of SMS verification code that can be directly copied and pasted , Share it now , I hope to improve the work efficiency of all colleagues , The code is as follows :
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://vip.veesing.com/smsApi/verifyCode",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "appId=41KYR0EB****&appKey=IIWCKKSR7NOQ****&phone=1561894****&templateId=1043&variables=1234",
CURLOPT_HTTPHEADER => array(
"Content-Type: application/x-www-form-urlencoded;charset=utf-8"
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
This is the SMS interface of SMS suppliers in big cloud city , In terms of stability , You can also test , I measured it myself , I think it's very stable , Originality is not easy. , I hope you can give me a three company .
PHP - cURL.php And documentation download
版权声明
本文为[To work is to master people]所创,转载请带上原文链接,感谢
边栏推荐
- 【科创人】Rancher江鹏:从清华工程物理学硕士到云计算开源创业者
- RabbitMQ安装
- [interview experience] bat programmers interviewed 200 people and analyzed the most frequently asked interview questions
- 容器技术(三)镜像小结【16】
- Simple implementation of activity workflow interactive demo
- 如何使用RTSP推流组件EasyPusher将MP4文件推到EasyDarwin开源平台?
- 磁阻式随机存储器MRAM基本原理
- High performance library dpdk concise understanding
- Activity工作流交互demo简单实现
- Another comparison operator related interview question let me understand that the foundation is very important
猜你喜欢
How to edit summation formula in MathType
配置ng
【QT】子类化QObject+moveToThread实现多线程
超简单集成华为系统完整性检测,搞定设备安全防护
[God level operation] analyze the Ninja code with the traditional Chinese thoughts of Confucius and Laozi!
Gesture switch background, let live with goods more immersive
手把手教你使用容器服务 TKE 集群审计排查问题
EMQ X 在中国建设银行物联网平台中的应用
双十一大秒杀,云服务器低至 0.7 折
浅谈API网关(API Gateway)如何承载API经济生态链
随机推荐
Another comparison operator related interview question let me understand that the foundation is very important
[God level operation] analyze the Ninja code with the traditional Chinese thoughts of Confucius and Laozi!
Double 11 big second kill, cloud server as low as 0.7 fold
JS深拷贝
小程序调用原生onShareAppMessage分享,imageUrl参数是mp4格式怎么办
说说 C# 9 新特性的实际运用
High performance library dpdk concise understanding
【QT】子类化QObject+moveToThread实现多线程
OpenOCD-JTAG调试
如何优雅阻止view UI 的 Switch 切换?
C#控制台调用FFMPEG推MP4视频文件至流媒体开源服务平台EasyDarwin过程
More than 60 technical executives gathered in Songshan Lake, and the first phase of Huawei cloud core partner developer training camp was successfully concluded
【科创人】Rancher江鹏:从清华工程物理学硕士到云计算开源创业者
Activity工作流交互demo简单实现
Hot update scheme of Chrome extension program: 2. Based on double cache update function module
财务管理系统如何帮助企业实现财务自动化管理?
超简单集成华为系统完整性检测,搞定设备安全防护
双十一大秒杀,云服务器低至 0.7 折
Day83: Luffy: add shopping cart & navigation bar shopping cart digital display & shopping cart page display
How to use binary search algorithm