rest-client Questions
1
Solved
I'm trying to use RestClient to retrieve a page that's secured using an SSL client certificate. My code is as follows:
require 'restclient'
p12 = OpenSSL::PKCS12.new(File.read('client.p12'), 'pas...
Bunchy asked 23/5, 2013 at 13:40
1
Solved
I have a RestService interface with many rest calls which I am using throughout my application.
I am setting timeouts for handling connection and read-timeouts
ClientHttpRequestFactory httpFacto...
Bulger asked 14/5, 2013 at 12:15
6
I'm trying to update a style for one of my Fusion Tables by using the Ruby gem RestClient.
Here's my code:
require 'rest_client'
tableId = '<STRING CONTAINING TABLEID>'
styleId = '<STRI...
Spay asked 28/1, 2013 at 22:49
1
Solved
In the Ruby RestClient gem, what's the difference between the timeout and open-timeout functionality?
http://www.ruby-doc.org/gems/docs/w/wgibbs-rest-client-1.0.5/RestClient/Resource.html#method-i...
Wow asked 17/4, 2013 at 12:59
6
I am trying to use ruby rest-client to upload a large number of images to a site that I'm writing. My code looks like:
RestClient.post url, :timeout => 90000000, :open_timeout => 90000000, ...
Deflate asked 14/12, 2010 at 3:11
2
Can anyone explain me with an example, by using REST Client to do GET/POST/PUT operations in a Rest web service?
In POST/PUT, using REST Client, need to pass the whole xml body to do
POST/PUT oper...
Kab asked 9/12, 2011 at 22:18
1
I want a simple rest client library for Java (or Scala) that let's me easily do GETs/PUTs/POSTs/DELETEs etc on a JSON REST API and deserialize the JSON responses into Java objects in a type-s...
Bootless asked 19/9, 2012 at 4:2
1
Solved
I am using RestClient gem by making get call to the server through it. The question is how do I set the timeout from client side.
RestClient.get "http://127.0.0.1:7819/tokenize/word/stackoverflow...
Marsipobranch asked 7/5, 2012 at 13:58
2
The idea is that REST Client can be configured with list of REST Servers. So the servers list will rotate on the REST Client in a round robin fashion.
e.g. REST Client Application. I'll be ...
Gavra asked 17/7, 2012 at 10:4
1
Solved
two years past, there comes fragment, intent service, cursor loader. Is the approach still up to date, or is there any better or mature pattern to design an android rest client, especially compare ...
Kemme asked 1/5, 2012 at 6:39
1
Solved
I am attempting to login to a site using the following code:
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'csv'
require 'restclient'
HEADERS_HASH = {"User-Agent" => "Mozill...
Barta asked 6/7, 2012 at 2:48
1
Solved
I am trying to post a request to a REST service (HP ALM 11 REST API fwiw) using rest-client and keep getting the Unauthorized response. Could be I am not following the docs right but also I am not ...
Hear asked 8/2, 2012 at 20:16
2
Solved
I have a condition where i need to pass a parameter as an array of hashes which looks like this:
The following is the Rack::Test post method for API call.
post "#{url}.json",
:api_key => appli...
Isochroous asked 22/6, 2011 at 7:1
1
Solved
I'm trying to post watermarked images to a url using rmagick and rest-client. When I generate the composite image, I save it (.write), read it back in with File.new, and then post that File object....
Berzelius asked 14/6, 2011 at 5:41
1
Solved
I've got a Rails project where a constant is being nuked at some point while serving a request.
I'm using the mime/types and restclient gems. The restclient module defines an extension to MIME whi...
Turkestan asked 16/7, 2011 at 22:32
1
Solved
I am trying to use the Rest-client gem to do a few small tasks for my app which uses Authlogic to authenticate users. From Rest-Client's API, I see that one can post data necessary for the log-in p...
Skerrick asked 19/2, 2010 at 22:27
3
Solved
I'm using restclient for a multipart form to send data to a restful web service (it's Panda video encoding service).
The trick though, is that the file I am passing into restclient (Technoweenie br...
Mafalda asked 12/8, 2009 at 18:23
© 2022 - 2024 — McMap. All rights reserved.