HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/alt/ruby32/share/gems/doc/rest-client-2.1.0/ri/RestClient/cdesc-RestClient.ri
U:RDoc::NormalModule[iI"RestClient:ET@0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"PThis module's static methods are the entry point for using the REST client.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;[!I"# GET
;TI"8xml = RestClient.get 'http://example.com/resource'
;TI"Pjpg = RestClient.get 'http://example.com/resource', :accept => 'image/jpg'
;TI"
;TI"# authentication and SSL
;TI"IRestClient.get 'https://user:password@example.com/private/resource'
;TI"
;TI"J# POST or PUT with a hash sends parameters as a urlencoded form body
;TI"ERestClient.post 'http://example.com/resource', :param1 => 'one'
;TI"
;TI"# nest hash parameters
;TI"TRestClient.post 'http://example.com/resource', :nested => { :param1 => 'one' }
;TI"
;TI"&# POST and PUT with raw payloads
;TI"cRestClient.post 'http://example.com/resource', 'the post body', :content_type => 'text/plain'
;TI"@RestClient.post 'http://example.com/resource.xml', xml_doc
;TI"oRestClient.put 'http://example.com/resource.pdf', File.read('my.pdf'), :content_type => 'application/pdf'
;TI"
;TI"# DELETE
;TI"5RestClient.delete 'http://example.com/resource'
;TI"
;TI"3# retreive the response http code and headers
;TI"8res = RestClient.get 'http://example.com/some.jpg'
;TI"*res.code                    # => 200
;TI"2res.headers[:content_type]  # => 'image/jpg'
;TI"
;TI"# HEAD
;TI"3RestClient.head('http://example.com').headers
;T:@format0o;	;[I"MTo use with a proxy, just set RestClient.proxy to the proper http proxy:;T@o;;[I"4RestClient.proxy = "http://proxy.example.com/"
;T;0o;	;[I"/Or inherit the proxy from the environment:;T@o;;[I"*RestClient.proxy = ENV['http_proxy']
;T;0o;	;[I"|For live tests of RestClient, try using http://rest-test.heroku.com, which echoes back information about the rest call:;T@o;;[I"M>> RestClient.put 'http://rest-test.heroku.com/resource', :foo => 'baz'
;TI"�=> "PUT http://rest-test.heroku.com/resource with a 7 byte payload, content type application/x-www-form-urlencoded {\"foo\"=>\"baz\"}";T;0:
@fileI"lib/restclient.rb;T:0@omit_headings_from_table_of_contents_below0o;;[;
I"(lib/restclient/abstract_response.rb;T;0o;;[;
I"!lib/restclient/exceptions.rb;T;0o;;[;
I"#lib/restclient/params_array.rb;T;0o;;[;
I"lib/restclient/payload.rb;T;0o;;[;
I"lib/restclient/platform.rb;T;0o;;[;
I"#lib/restclient/raw_response.rb;T;0o;;[;
I"lib/restclient/request.rb;T;0o;;[;
I"lib/restclient/resource.rb;T;0o;;[;
I"lib/restclient/response.rb;T;0o;;[;
I"lib/restclient/utils.rb;T;0o;;[;
I"lib/restclient/version.rb;T;0o;;[;
I"lib/restclient/windows.rb;T;0;
0;0[[	U:RDoc::Constant[iI"
STATUSES;TI"RestClient::STATUSES;T:public0o;;[o;	;[I")Hash of HTTP status code => message.;T@o;	;[I"?1xx: Informational - Request received, continuing process ;TI"I2xx: Success - The action was successfully received, understood, and;To;;[I"accepted
;T;0o;	;[I"M3xx: Redirection - Further action must be taken in order to complete the;To;;[I"
request
;T;0o;	;[I"P4xx: Client Error - The request contains bad syntax or cannot be fulfilled ;TI"I5xx: Server Error - The server failed to fulfill an apparently valid;To;;[I"
request
;T;0o;	;[I"	@see;To;;[I"Nhttp://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml;T;0;
@G;0@G@cRDoc::NormalModule0U;[iI"STATUSES_COMPATIBILITY;TI"'RestClient::STATUSES_COMPATIBILITY;T;0o;;[;
@G;0@G@@�0U;[iI"VERSION_INFO;TI"RestClient::VERSION_INFO;T;0o;;[;
@b;0@b@@�0U;[iI"VERSION;TI"RestClient::VERSION;T;0o;;[;
@b;0@b@@�0[[[I"
class;T[[;[[I"add_before_execution_proc;TI"lib/restclient.rb;T[I"create_log;T@�[I"delete;T@�[I"get;T@�[I"	head;T@�[I"	log=;T@�[I"options;T@�[I"
patch;T@�[I"	post;T@�[I"
proxy;T@�[I"proxy=;T@�[I"proxy_set?;T@�[I"put;T@�[I"!reset_before_execution_procs;T@�[I"version;TI"lib/restclient/version.rb;T[:protected[[:private[[I"
instance;T[[;[[I"<<;T@�[;[[;[[[U:RDoc::Context::Section[i0o;;[;
0;0[@A@D@G@J@M@P@S@V@Y@\@_@b@eI")lib/restclient/windows/root_certs.rb;T@ecRDoc::TopLevel