Comments (2)
[2018-09-20 00:50:51] overtrue-http.INFO: >>>>>>>> POST /YCShop_WhiteList/PreInformation HTTP/1.1 Content-Length: 122 User-Agent: GuzzleHttp/6.3.3 curl/7.54.0 PHP/7.1.16 Content-Type: application/json Host: localhost:10905 {"request_no":"RN20180920005051zNwLiHpibpLrAMOE","userInfo":{"username":null,"mobile":"15501061111","identity_code":null}} <<<<<<<< HTTP/1.1 200 OK Server: nginx/1.12.2 Date: Wed, 19 Sep 2018 16:50:51 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Powered-By: PHP/7.1.16 {"status":true,"error":"0000","api_result":{"result":"0000","msg":"\u6210\u529f","info":{"checkNo":"d6bZ49Ry5ba27e6bd2df5"}}} -------- NULL [] []
[2018-09-20 00:50:51] overtrue-http.INFO: >>>>>>>> POST /YCShop_WhiteList/Search HTTP/1.1 Content-Length: 29 User-Agent: GuzzleHttp/6.3.3 curl/7.54.0 PHP/7.1.16 Content-Type: application/x-www-form-urlencoded Host: localhost:10905 checkNo=d6bZ49Ry5ba27e6bd2df5 <<<<<<<< HTTP/1.1 200 OK Server: nginx/1.12.2 Date: Wed, 19 Sep 2018 16:50:51 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Powered-By: PHP/7.1.16 {"status":true,"error":"0000","api_result":{"result":"0000","msg":"\u6210\u529f","info":{"checkNo":"d6bZ49Ry5ba27e6bd2df5","ruleList":[{"ruleNo":"SF10001","black":"0","ruleResult":0}],"errorCode":"","respCode":"0","errorMsg":""}}} -------- NULL [] []
2
from http.
新版已经默认去掉了日志记录,你可以按这个说明自己定制日志:https://github.com/overtrue/http#logging-request-and-response
from http.
Related Issues (14)
- 需要更新,不支持在 Laravel 6.0 中使用
- Overtrue\Http\Support\XML 没有这个类
- Laravel 8 中对 guzzlehttp/guzzle 的版本要求提高到v7.0.1了,有冲突,辛苦升级下 HOT 1
- 兼容下PHP8
- Client类get方法的query参数换成options HOT 1
- 1.1.3 版本里面存在的 postJson 方法,在 1.2.0, 1.1.4, 1.1.5 里面居然就被删除了 HOT 1
- 比外国的那个简单多了!!! 666 HOT 1
- Namespace declaration statement has to be the very first statement or after any declare call in the script in vendor/overtrue/http/src/Support/Collection.php on line 13
- 三元表达式的问题 HOT 1
- Overtrue\Http\Support\Collection 不支持php8 HOT 2
- 请教一下,为什么删除之前的postJson 方法呢? HOT 1
- Overtrue\Http\Support\Collection::dotGet()方法无法正确获取“.”号分割的key
- postJson方法data参数为空.请求时会传入body参数
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http.