当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Four solutions of Android soft keyboard occlusion
- 【涂鸦物联网足迹】涂鸦云平台接口说明
- PHP - cURL复制粘贴性接入短信验证码示例
- Super low price cloud server is coming
- Revealing the logic of moving path selection in Summoner Canyon?
- Defects in singleton mode of DCL and other implementations of singleton
- Openocd-jtag debugging
- In the third stage, day19 users echo packaged cookie products and remotely call Shopping Cart module crud operation
- CIM平台可视化建设
- 高性能库DPDK精简理解
猜你喜欢

数据库执行truncate table CM_CHECK_ITEM_HIS怎么恢复

Ultra simple integration of Huawei system integrity testing, complete equipment security protection

低功耗蓝牙单芯片为物联网助力

ABBYY FineReader 15 新增编辑表格单元格功能

Flink的安装部署

CIM平台可视化建设

AQS源码深入分析之条件队列

Introduction to zero base little white Python

JT-day10
![[stm32h7] Chapter 6: stm32h7 dma2d acceleration of ThreadX guix](/img/95/e252a8df878a3b9f6b2d6c9badbb94.jpg)
[stm32h7] Chapter 6: stm32h7 dma2d acceleration of ThreadX guix
随机推荐
菜鸟福音,28本书籍循序渐进让你成为大牛!(附学习大纲一份)
JT-day10
开源项目,私活利器,快速开发
A great guide to curl
JS object array de duplication
超简单集成华为系统完整性检测,搞定设备安全防护
CIM平台可视化建设
Container technology (3) building local registry [15]
Share tips on editing letters and mathematical formulas with MathType
Kubernetes权限管理之RBAC (一)
【科创人】Rancher江鹏:从清华工程物理学硕士到云计算开源创业者
LeetCode 48 旋转图像
修改jar包里的文件
MathType中如何编辑求和公式
[最佳实践]了解 Eolinker 如何助力远程办公
如何用代码上传头像,并添加自己的版权信息?
如何优雅阻止view UI 的 Switch 切换?
Hot update scheme of Chrome extension program: 2. Based on double cache update function module
报错 Type interface *** is not known to the MapperRegistry. 的解决方案
【云小课】版本管理发展史之Git+——代码托管