Chrome下安装Advanced REST Client插件

本文指导如何在Chrome浏览器中安装Advanced REST Client插件。首先打开Extensions页面,接着搜索并安装插件。安装完成后,通过新建标签页启动插件。由于中国地区可能无法直接下载数据,你可以先保存提供的.txt文件内容,然后导入。完成导入后,你就可以开始使用Advanced REST Client测试REST Web Service了。
摘要由CSDN通过智能技术生成
  • 进入Extensions


  • Get More extensions


  • 搜索 “REST Client Plugin”


  • 击安装 “Advanced REST Client”
  • 安装以后,点 “New Tab” ,将看到刚才安装的”Advanced REST Client”
  • 击运行”Advanced REST Client”,将提示下载数据。

会提示中国地区无法下载该数据(好像中文版本的Chrome可以下载,没有去确认)。下面列出数据的内容,保存为一个.txt文件然后根据提示导入即可。


  • 数据导入成功以后,进入主界面,便可以测试REST Web Service了。

 

{
 "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: <compress | gzip | deflate | identity>"},
 	{"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&
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值