Daily Archive: July 24, 2018

在 Postman 中 POST 请求,http://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users ,输入格式:application/json 0

Based on yiisoft/yii2-app-advanced, create a new repository yii2-app-advanced on github, and create a new interface application (implement RESTful-style web service services. API), application/x-www-form-urlencoded and multipart/form-data input formats, default support, new application/json input format support

Post Views: 29 1. The API can distinguish application/x-www-form-urlencoded and multipart/form-data input formats by default, and view \api\config\main.php, request Configuration of application components 2. POST request in Postman,http://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users, the input format: application/x-www-form-urlencoded, as shown...

当升级时,缺少 PCS_API_CFG_CPU_PARAMS_SOURCE=chinamcloud_pcs // CP上传的参数的系统来源标识,则启动容器失败 0

There is a lack of environment variables during the upgrade of Rancher, which causes the solution to fail to upgrade (when an environment variable does not exist, it will not be replaced)

Post Views: 13 1, \build\c_files\config\init\config0.sh, replace the shell script of environment variables 2. When upgrading, the system source ID of the parameters uploaded by the CP upload is missing, and the boot container fails,...