advanced rest client

Advanced REST Client是 Chrome 浏览器下的一个插件,通过它可以发送 http、https、WebSocket 请求。

1.下载:

1.1 谷歌应用商店(https://chrome.google.com/webstore/category/apps)里面搜索advanced rest client.

1.2 百度云盘下载Advanced-REST-client_v3.1.9.zip链接:http://pan.baidu.com/s/1c0vUnJi 密码:z34d

2.打开谷歌浏览器,加载此插件

2.1打开扩展程序


2.2 添加插件


2.3打开插件加载配置文件,由于没有翻墙所以不会下载成功,需要等一会会看到选择配置文件的页面。



2.4 选择文件可以是txt文件,将如下内容保存到随意命名的txt文件中,然后点击选择文件上传成功。然后点击插件的详细信息-扩展程序选项打开插件来使用了。

{
'requests':[
{'key':'Accept','desc':'Content-Types that are acceptable.','example':'Accept: text/plain'},
{'key':'Accept-Charset','desc':'Character sets that are acceptable','example':'Accept-Charset: utf-8'},
{'key':'Accept-Encoding','desc':'Acceptable encodings','example':'Accept-Encoding: '},
{'key':'Accept-Language','desc':'Acceptable languages for response','example':'Accept-Language: en-US'},
{'key':'Authorization','desc':'Authentication credentials for HTTP authentication','example':'Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='},
{'key':'Cache-Control','desc':'Used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain','example':'Cache-Control: no-cache'},
{'key':'Connection','desc':'What type of connection the user-agent would prefer','example':'Connection: close'},
{'key':'Cookie','desc':'an HTTP cookie previously sent by the server with Set-Cookie','example':'Cookie: $Version=1; Skin=new;'},
{'key':'Content-Length','desc':'The length of the request body in octets (8-bit bytes)','example':'Content-Length: 348'},
{'key':'Content-Type','desc':'The mime type of the body of the request (used with POST and PUT requests)','example':'Content-Type: application/x-www-form-urlencoded'},
{'key':'Date','desc':'The date and time that the message was sent','example':'Date: Tue, 15 Nov 1994 08:12:31 GMT'},
{'key':'Expect','desc':'Indicates that particular server behaviors are required by the client','example':'Expect: 100-continue'},
{'key':'From','desc':'The email address of the user making the request','example':'From: user@example.com'},
{'key':'Host','desc':'The domain name of the server (for virtual hosting), mandatory since HTTP/1.1','example':'Host: en.wikipedia.org'},
{'key':'If-Match','desc':'Only perform the action if the client supplied entity matches the same entity on the server. This is mainly for methods like PUT to only update a resource if it has not been modified since the user last updated it.','example':'If-Match: '737060cd8c284d8af7ad3082f209582d''},
{'key':'If-Modified-Since','desc':'Allows a 304 Not Modified to be returned if content is unchanged','example':'If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT'},
{'key':'If-None-Match','desc':'Allows a 304 Not Modified to be returned if content is unchanged, see HTTP ETag','example':'If-None-Match: '737060cd8c284d8af7ad3082f209582d''},
{'key':'If-Range','desc':'If the entity is unchanged, send me the part(s) that I am missing; otherwise, send me the entire new entity','example':'If-Range: '737060cd8c284d8af7ad3082f209582d''},
{'key':'If-Unmodified-Since','desc':'Only send the response if the entity has not been modified since a specific time.','example':'If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT'},
{'key':'Max-Forwards','desc':'Limit the number of times the message can be forwarded through proxies or gateways.','example':'Max-Forwards: 10'},
{'key':'Pragma','desc':'Implementation-specific headers that may have various effects anywhere along the request-response chain','example':'Pragma: no-cache'},
{'key':'Proxy-Authorization','desc':'Authorization credentials for connecting to a proxy.','example':'Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=='},
{'key':'Range','desc':'Request only part of an entity. Bytes are numbered from 0.','example':'Range: bytes=500-999'},
{'key':'Referer','desc':'This is the address of the previous web page from which a link to the currently requested page was followed.','example':'Referer: http://en.wikipedia.org/wiki/Main_Page'},
{'key':'TE','desc':'The transfer encodings the user agent is willing to accept: the same values as for the response header Transfer-Encoding can be used, plus the 'trailers' value (related to the 'chunked' transfer method) to notify the server it accepts to receive additional headers (the trailers) after the last, zero-sized, chunk.','example':'TE: trailers, deflate'},
{'key':'Upgrade','desc':'Ask the server to upgrade to another protoco

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值