![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
https
木子李0531
金无足赤,人无完人
展开
-
Nginx 配置ssl http跳转https
server { listen 80; server_name www.aaa.com aaa.com; rewrite ^(.*)$ https://${server_name}$1 permanent; location / { root html; index index.html index.htm; } } server { list.原创 2021-05-27 17:34:03 · 134 阅读 · 0 评论 -
php $_POST接收数据的几种方式
HTTP 一、常见的三种 Content-Type 1, application/x-www-form-urlencoded 2, multipart/form-data 3, application/json $_POST 默认只能接收到 Content-Type: application/x-www-form-urlencoded 的数据 二、PHP获取POST数据的三种方法 方法1、application/x-www-form-urlencoded 最常见的方法是:$_POST['ke原创 2021-04-07 16:36:25 · 1668 阅读 · 0 评论 -
php 使用curl请求https 错误码 errcode 43009 errmsg post参数需要json类型
$url = 'https://www.xxx.com'; $header = array('Content-Type:application/json;Charset=utf-8');//增加$header 设置 Content-Type:application/json $param = json类型数据 $curl = curl_init(); curl_setopt($curl, CU...原创 2019-04-11 10:22:58 · 2271 阅读 · 0 评论