永夜 Blog

在 Postman 中请求 https 接口响应成功,在前端页面中请求 https 接口无响应,控制台中报错: net::ERR_CERT_AUTHORITY_INVALID 0

Requesting the HTTPS interface in Postman is successful, the requesting HTTPS interface in the front-end page is unresponsive, and an error is reported in the console: net::err_cert_authority_invalid

浏览量: 18 1. The request for the HTTPS interface in Postman is successful, the request for the HTTPS interface in the front-end page is unresponsive, and an error is reported in the console: net::ERR_cert_authority_invalid....

当响应为非 图片 Buffer 时,写入图片文件中的数据有误。图片无法打开。最终决定通过 响应头 Content-Type 来进行区分 0

When requesting to obtain unlimited applet code interface, it is possible to respond: picture buffer . Possible response: JSON string. The response format is set to: raw-urlencoded . How to determine whether the interface request is a success or a failure?

浏览量: 13 1. The PHP code is implemented as follows 2. When the response is a non-picture buffer, the data written in the picture file is incorrect. Image cannot be opened. The final decision...

在 LNMP 2.1 中 执行 lnmp nginx reload 时报错:Reload nginx... nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /usr/local/nginx/conf/vhost/xxx.yyy.cn.conf:46 0

Warning when executing lnmp nginx reload in lnmp 2.1: reload nginx… nginx:[warn]The “listen … http2” directive is deprecated, use the “http2” directive instead /usr/local/nginx/conf/vhost/xxx.yyy.cn.conf:46

浏览量: 15 1. When executing lnmp nginx reload in lnmp 2.1, an error is reported: reload nginx… nginx:[warn]The “listen … http2” directive is deprecated, use the “http2” directive instead /usr/local/nginx/conf/vhost/xxx.yyy.cn.conf:46. as shown in Figure...

调整请求参数的 "check_path":false ,得以解决。然后报另外一个错误:Unrecognized format '' 0

When requesting the WeChat Mini Program interface: obtaining unrestricted applet code, troubleshooting and analysis of some problems (Errcode: 41030, errmsg: Invalid Page Rid, Errcode: 47001, errmsg: data Format Error Rid, Unrecognized format)

浏览量: 40 1. When requesting the WeChat Mini Program interface: obtaining unrestricted applet code, an error is reported: errcode: 47001, errmsg: data format error Rid. as shown in Figure 1 2. Adjust the content-type...