Created
October 17, 2011 08:57
-
-
Save gsmendoza/1292230 to your computer and use it in GitHub Desktop.
RestClient request when putting a page to unfuddle's notebooks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#<RestClient::Request:0xb72c53a0 | |
@args= | |
{:password=>"********", | |
:method=>:put, | |
:payload=> | |
{:page=> | |
{:message=>"Minor fixes", | |
:title=>"title", | |
:body=> | |
"body"}}, | |
:url=> | |
"http://hmsinc.unfuddle.com/api/v1/projects/15/notebooks/11/pages/205", | |
:headers=>{}, | |
:user=>"gsmendoza"}, | |
@block_response=nil, | |
@cookies={}, | |
@headers={}, | |
@max_redirects=10, | |
@method=:put, | |
@open_timeout=nil, | |
@password="********", | |
@payload="", | |
@processed_headers= | |
{"Content-Type"=>"application/x-www-form-urlencoded", | |
"Content-Length"=>"2038", | |
"Accept-Encoding"=>"gzip, deflate", | |
"Accept"=>"*/*; q=0.5, application/xml"}, | |
@raw_response=false, | |
@ssl_ca_file=nil, | |
@ssl_client_cert=nil, | |
@ssl_client_key=nil, | |
@tf=nil, | |
@timeout=nil, | |
@url="http://hmsinc.unfuddle.com/api/v1/projects/15/notebooks/11/pages/205", | |
@user="gsmendoza", | |
@verify_ssl=false> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment