Category: Programming Development

在 Windows PowerShell 中执行 yarn 相关命令时报错:不允许使用与号(&) 0

Error when executing YARN-related commands in Windows PowerShell

浏览量: 2 1. An error is reported when executing YARN-related commands in Windows PowerShell: & as shown in Figure 1 2. Decide to replace & with “&”, and then execute: after the yarn hothop...

通过 GET 请求对 GitHub GraphQL API 架构运行内省查询。在 PowerShell 中执行 curl 请求:Invoke-WebRequest 无法绑定参数“Headers” 0

Execute curl request in PowerShell: invoke-webrequest cannot bind parameter “headers”

浏览量: 8 1. Run an introspective query to the GitHub GraphQL API schema through the GET request. Execute a curl request in PowerShell: invoke-webrequest cannot bind the parameter “headers”. as shown in Figure 1...

在 Chrome 浏览器中打开网址:https://localhost/phpinfo.php ,访问成功,符合预期。 0

Configure https(https://localhost) on the local environment of Windows 10, based on MKCERT

浏览量: 6 1. Now the local environment URL: http://morefun.dev.dev.xxx.cn/ I want to get the cookie data under the development environment: https://.xxx.cn, but found that it cannot be obtained. The reason is the difference between...

测试阿里云服务器基于 curl http 请求 http://httpbin.org/ip、https://www.google.com、https://www.youtube.com。连接成功 0

Implementation of HTTP requests Google and YouTube after installing v2ray in CentOS 7.x of Alibaba Cloud Continental ECS

浏览量: 8 1. List all version information and execute the command: lsb_release -a. Version: CentOS 7.7. as shown in Figure 1 2. Check the bash version: 4.2.46. as shown in Figure 2 3. Install...

在 Yii 2.0 中报错:yii\base\ErrorException: Undefined index: HTTP_ACCEPT 0

Error reported in Yii 2.0: yii\base\errorexception: undefined index: http_accept

浏览量: 6 1. An error is reported in Yii 2.0: yii\base\ErrorException: undefined index: http_accept, as shown in Figure 1 2. Check the runtime log file: /api/runtime/logs/app.log 3. The log information of the two requests,...

HttpException 表示由最终用户的不正确请求导致的异常 0

Chinese translation and annotation of predefined HTTP exception classes for Yii 2.0 (reference: MDN, Wikipedia)

浏览量: 5 1. Yii\Web\BadRequestHttpException: status code 400. BadRequestHttpExceptions a “bad request” Http exception with status code 400. Use this exception to represent a generic client error. Describes the error. In that case, consider using...

passthru() has been disabled for security reasons 0

In Yii 2, the RPC service is implemented based on HProse, and the error is reported: passthru() has been disabled for security reasons

浏览量: 3 1. In the local environment, post in postman , http://api.aims-api.localhost/v1/tasks?group_id=015ce30b116ce86058fa6ab4fea4ac63 , the response is successful 2. In development environment, post in postman , http://wjdev2.chinamcloud.com:8659/v1/tasks?group_id=015ce30b116ce86058fa6ab4fea4ac63 , the response failed, as shown in Figure...