Category: Postman v6

出现以上原因是因为 Windows 下 nginx php 环境,不支持并发的原因,当同时访问多个域名,并且同时指向你本地服务的时候,就不支持并发了。nginx.conf 里面 对不同 server 修改 fastcgi_pass 的端口号,启动多个 php-cgi。 0

Based on yiisoft/yii2-app-advanced, create a new repository yii2-app-advanced on github, and create a new remote procedure call application (implement hprose 2.0 for PHP RPC server), implement the corresponding RPC service of the page in the RPC directory, and implement the RPC client in the API directory

Post Views: 36 1. Implement the corresponding RPC service of the page in the RPC directory, create a remote procedure call HTTP server, and create a new \RPC\Controllers\ServerController.php 2. Create a new page model...

在 Postman 中 POST 请求指定资源的详情,响应 405,不允许的方法。该 URL 仅可以处理以下请求方法:GET,HEAD 0

In the RESTful APIs of Yii 2.0, View: returns the details of the specified resource, and the HTTP verb supports the implementation of GET and POST at the same time

Post Views: 17 1. In Postman, the details of the specified resource of the GET request, the response is 200, as shown in Figure 1 2. Check the routing configuration, the code is as...

在 Postman 中 GET 请求:{{channel_pub_api_host_info}}/qq{{channel_pub_api_base_url}}/qq-cw-apps?group_id=015ce30b116ce86058fa6ab4fea4ac63 ,实际请求网址:http://api.channel-pub-api.localhost/qq/v1/qq-cw-apps?group_id=015ce30b116ce86058fa6ab4fea4ac63 ,环境变量已被替换,符合预期。 0

Set and use variables in Postman, when you need to update the value, you only need to make changes in one location, no need to make changes in multiple locations

Post Views: 12 1. Open the URL of the variable and environment variable:https://learning.postman.com/docs/postman/variables-and-environments/variables/, variables and environment variables. With variables, variables allow you to store and reuse values in requests and scripts. as shown in...

编辑 Nginx 配置文件,修改 server_name 的值:api.channel-pub.wjdev.chinamcloud.cn localhost,以在一个请求(https://api.channel-pub.wjdev.chinamcloud.cn)中 CURL 另一个请求(http://localhost)(总计请求次数为 7),直接请求本机,以节省网络开销。其总体响应时间长度为:1956ms,2 秒左右,符合预期。 0

Nginx + PHP-FPM serial, parallel support analysis, test and solution of serial and parallel support under Windows 10 and CentOS 8

Post Views: 14 1. Nginx + php-fpm in the case of Windows 10, when in a request (http://api.channel-pub-api.localhost)中curl another request (http://api.channel-pub-api.localhost)时,报错:fopen(http://api.channel-pub-api.localhost/qq/v1/articles/standard?group_id=015ce30b116ce86058fa6ab4fea4ac63):Failed to open stream: HTTP request failed! . as shown in Figure 1 2....

在生产环境中,基于 Docker 部署,操作系统为 CentOS,获取日志列表的最后一页,响应超时:504 Gateway Time-out 0

In the Nginx + FastCGI (PHP-FPM) environment, when the length of the data in the log table is in GB, get the last page of the log list, and the response timeout: 504 Gateway time-out analysis solution

Post Views: 14 1. When the data length of PA_LOG is: 6.16 GB, as shown in Figure 1 2. Get the first page of the log list, the response time is about 1000ms, which...

获取企鹅号的应用的任务列表,列表中存在 2 条记录,查看获取企鹅号的应用的任务列表的请求参数、响应参数、 SQL 语句,符合预期 0

The task of entering the warehousing success and failure of the warehousing needs to be able to query the design and implementation of the release record (specifically implemented in Yii 2.0) (1)

Post Views: 14 1. Get the task list of the application of the Penguin, the list is empty, as shown in Figure 1 2. Types of published articles: standard (normal, graphic) articles, successful publishing...

上传扩展名为:.docx 的文件,上传失败,提示:不允许 0

When uploading a file based on Yii 2.0, the list of file extensions that can be uploaded has been added: .docx, and the solution is still not allowed to upload

Post Views: 12 1. List of file extensions that can be uploaded: ogg, pdf, xml, zip, gz, mp4, mp3, wav, webm, gif, jpeg, jpg, png, webp, SVG, SVGZ, TIFF, CSS, CSV, TXT, VCF, VCARD,...