当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- [graffiti Internet of things footprint] graffiti cloud platform interface description
- Experts' interpretation of four hot industries in 2020 China telecom terminal technology and Standards Forum
- Leetcode 48 rotating image
- CIM平台可视化建设
- Markdown plug-in of vscode
- Git老鸟查询手册
- 报错 Type interface *** is not known to the MapperRegistry. 的解决方案
- JT-day10
- Revealing the logic of moving path selection in Summoner Canyon?
- iOS下带小数点的数字键盘
猜你喜欢

如何用代码上传头像,并添加自己的版权信息?

GPS对时系统(网络对时仪器)应用电子政务系统

andorid实例-简单登录布局

非常值得一看的 Curl 用法指南

如何优雅阻止view UI 的 Switch 切换?

Android instance - simple login layout

Day83: Luffy: add shopping cart & navigation bar shopping cart digital display & shopping cart page display

如何使用RTSP推流组件EasyPusher将MP4文件推到EasyDarwin开源平台?

【STM32H7】第6章 ThreadX GUIX上手之STM32H7 DMA2D加速

C console calls ffmpeg to push MP4 video file to stream media open source service platform easydarwin process
随机推荐
RabbitMQ安装
Container technology (3) building local registry [15]
Visualization construction of CIM platform
It will be 2021. What is the modern C + + worth learning?
Kubernetes-18:Dashboard安装及使用
Experts' interpretation of four hot industries in 2020 China telecom terminal technology and Standards Forum
高性能库DPDK精简理解
AQS源码深入分析之条件队列
Flink的安装部署
Abbyy finereader 15 added edit table cell function
A great guide to curl
More than 60 technical executives gathered in Songshan Lake, and the first phase of Huawei cloud core partner developer training camp was successfully concluded
容器技术(三)镜像小结【16】
[best practice] learn how eolinker helps Telecommuting
【面试经验】BAT程序员面试200人,常见最常问的面试问题做出解析
双十一大秒杀,云服务器低至 0.7 折
Mac无法连接到App Store并提示需要连接网络怎么办?
mongodb 源码实现系列 - 网络传输层模块实现三
dat.GUI 打造可视化工具(一)
RBAC of kubernetes authority management (1)