网络请求测试调试服务器

服务器域名:penghe.top

协议:HTTP

用于测试调试上传到服务器的信息是否正确。(在请求参数中增加debug=true即可回显所有请求中的信息)

示例:

URL:http://penghe.top/test/?debug=true

get方式回显:

{"request":"request by method Get from uri /test/"}

debug info:--------
[2020-03-11 11:21:07] method=GET requestURI=/test/ remoteAddr=112.194.105.50 contentType=null header:[ accept-language=zh host=47.244.55.250 upgrade-insecure-requests=1 connection=keep-alive accept-encoding=gzip, deflate user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9 ] parameters:[ debug=true ] body=null

post 方式回显:

{"request":"request by method Post from uri /test/"}

debug info:--------
[2020-03-11 11:22:04] method=POST requestURI=/test/ remoteAddr=112.194.105.50 contentType=null header:[ content-length=0 postman-token=bdaefd09-88cd-4608-bb13-587fb0ab077a host=47.244.55.250 connection=keep-alive cache-control=no-cache accept-encoding=gzip, deflate, br user-agent=PostmanRuntime/7.22.0 accept=/ ] parameters:[ debug=true ] body=null

理论支持所有的HTTP请求方式 包括:

GET/POST/PUT/PATCH/DELETE/COPY/HEAD/OPTIONS/LINK/UNLINK/PURGE/LOCK/UNLOCK/PROPFIND/VIEW

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容