会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
北满
packagist.org //composer 镜像网站
博客园
首页
新随笔
联系
管理
订阅
2019年11月19日
PHP 利用 curl 发送 post get del put patch 请求
摘要: 因为需要在 php 开发中对接其它接口需要用 php curl 去对接其它接口 我把他们封装成函数 希望能对大家有所帮助。 这里面是封装好的会自动把 data 进行转成 json 格式,同时解码成 php 数组输出。 function geturl($url){ $headerArray =arra
阅读全文
posted @ 2019-11-19 22:21 北满
阅读(205)
评论(0)
推荐(0)
公告