shnomad.blogg.se

Advanced rest client download file
Advanced rest client download file









advanced rest client download file

The default is to not use a certificate/key pair.

advanced rest client download file

The path to a X509 certificate file to be used for client authentication. After the timeout the client will return a 500. timeoutĪ timeout in seconds for requests made with the client. The default is undef - you must include the host in your requests. Allows you to just specify the path when making requests. These can be called on the instantiated object to change or check values.Ī default host that will be prepended to all requests using relative URLs. Each config flag also has get/set accessors of the form getHost/setHost, getUseragent/setUseragent, etc. Takes an optional hash or hash reference or config flags. METHODS Construction and setup new ( )Ĭonstruct a new REST::Client. REST::Client provides a simple way to interact with HTTP RESTful resources.

#ADVANCED REST CLIENT DOWNLOAD FILE HOW TO#

# see LWP::UserAgent for how to define callback methods DESCRIPTION $client->setContentFile( \&callback_method ) # request responses can be written directly to a file #make requests, and set advanced options on it, for instance: #It is possible to access the L object REST::Client is using to # Requests can optionally automatically follow redirects and auth, defaults to #you may set a timeout on requests, in seconds Print $client->responseHeader('ResponseHeader') $client->addHeader('CustomHeader', 'Value')

advanced rest client download file

$client->PUT('/dir/file.xml', 'new content') REST::Client - A simple client for interacting with RESTful http/https resources VERSION











Advanced rest client download file