当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 报错 Type interface *** is not known to the MapperRegistry. 的解决方案
- Configure the NZ date picker time selection component of ng zerro
- 分库分表的 9种分布式主键ID 生成方案,挺全乎的
- 手把手教你使用容器服务 TKE 集群审计排查问题
- 百亿级数据分表后怎么分页查询?
- Share tips on editing letters and mathematical formulas with MathType
- YoMo Codec - Y3的性能评测报告
- How to implement a simple student management system with C + +
- 运用强大的 PowerBI 桑基图表示复杂运营业务流
- JT-day10
猜你喜欢

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

Share tips on editing letters and mathematical formulas with MathType
![[best practice] learn how eolinker helps Telecommuting](/img/7b/e786e0d73114e6c6800747580aad2d.jpg)
[best practice] learn how eolinker helps Telecommuting

How to implement a simple student management system with C + +

Installation and deployment of Flink

双十一大秒杀,云服务器低至 0.7 折

财务管理系统如何帮助企业实现财务自动化管理?
![[stm32h7] Chapter 6: stm32h7 dma2d acceleration of ThreadX guix](/img/95/e252a8df878a3b9f6b2d6c9badbb94.jpg)
[stm32h7] Chapter 6: stm32h7 dma2d acceleration of ThreadX guix

High performance library dpdk concise understanding

【面试经验】BAT程序员面试200人,常见最常问的面试问题做出解析
随机推荐
Activity工作流交互demo简单实现
【涂鸦物联网足迹】涂鸦云平台接口说明
How to gracefully prevent switch switching of view UI?
【STM32F429】第6章 ThreadX GUIX上手之STM32F429 DMA2D加速
How the API gateway carries the API economic ecological chain
菜鸟福音,28本书籍循序渐进让你成为大牛!(附学习大纲一份)
说说 C# 9 新特性的实际运用
How to realize the authority route and authority menu of background management system
PHP - cURL复制粘贴性接入短信验证码示例
分库分表的 9种分布式主键ID 生成方案,挺全乎的
超简单集成华为系统完整性检测,搞定设备安全防护
The applet calls the native onshareappmessage to share. What if the imageurl parameter is in MP4 format
dat.GUI Creating visualization tools (1)
Abbyy finereader 15 added edit table cell function
R8 编译器: 为 Kotlin 库和应用 '瘦身'
[God level operation] analyze the Ninja code with the traditional Chinese thoughts of Confucius and Laozi!
[stm32f429] Chapter 6: stm32f429 dma2d acceleration of ThreadX guix
JT-day10
传统采购模式已变!汽车采购职能该如何创新?
骚操作!嵌套 JSON 秒变 Dataframe!