|
oauth_problem=signature_invalid 7 messages
I have an OAuth::AccessToken that is able to get(url). But when I do
RestClient.add_before_execution_proc do |req, params|
@access_token.sign!(req)
end
...
RestClient.get(url)
I get back
I have an OAuth::AccessToken that is able to get(url). But when I do
RestClient.add_before_execution_proc do |req, params|
@access_token.sign!(req)
end
...
RestClient.get(url)
I get back
|
By
Brian Lewis
·
|
|
Timeouts 3 messages
Begin forwarded message:
From: Manuel Palenciano <mpalenciano@...>
Date: April 1, 2011 11:01:02 AM GMT+02:00
To: rest.client@...
Subject: Timeouts
Hello there,
I have 2 Rails apps talking each othe
Begin forwarded message:
From: Manuel Palenciano <mpalenciano@...>
Date: April 1, 2011 11:01:02 AM GMT+02:00
To: rest.client@...
Subject: Timeouts
Hello there,
I have 2 Rails apps talking each othe
|
By
Manuel Palenciano
·
|
|
rest-client 1.6.2.a is available for testing
Hi all,
as many fixes where awaiting to e shipped, I've pushed a rest-client 1.6.2.a gem to the repository, changes:
- add support for HEAD in resources (patch provided by tpresa)
- fix shell for 1.
Hi all,
as many fixes where awaiting to e shipped, I've pushed a rest-client 1.6.2.a gem to the repository, changes:
- add support for HEAD in resources (patch provided by tpresa)
- fix shell for 1.
|
By
Archiloque
·
|
|
parameters with put request 3 messages
How would one make the following put request with rest-client.
curl "http://localhost:9997/index?mail_id=1&user_id=1&class=Order&url=1" -T tmp.eml
I would rather not have to manually encode the para
How would one make the following put request with rest-client.
curl "http://localhost:9997/index?mail_id=1&user_id=1&class=Order&url=1" -T tmp.eml
I would rather not have to manually encode the para
|
By
Karl Baum
·
|
|
net-http-persistent and rest-client
Hi,
I managed to find this post from Karl Baum in the list archives, I was
wondering if there had been any further investigation (maybe by
Karl?).
I'm one of the maintainers of couchrest, mainly the
Hi,
I managed to find this post from Karl Baum in the list archives, I was
wondering if there had been any further investigation (maybe by
Karl?).
I'm one of the maintainers of couchrest, mainly the
|
By
Samuel Lown
·
|
|
Proposal: block_response
Hi,
as the feature is asked time to time I was thinking about enable the users to stream the response
Instead of abstracting the response in a new interface I propose to add a new parameter to to re
Hi,
as the feature is asked time to time I was thinking about enable the users to stream the response
Instead of abstracting the response in a new interface I propose to add a new parameter to to re
|
By
Archiloque
·
|
|
Timeout on Head request 2 messages
Hi,
I was wondering how to put a timeout on a head request using restclient.
I'm using it like this at the minute:
RestClient.head(url, {'User-Agent' => useragent}).headers
but wondering is there
Hi,
I was wondering how to put a timeout on a head request using restclient.
I'm using it like this at the minute:
RestClient.head(url, {'User-Agent' => useragent}).headers
but wondering is there
|
By
Julian Keenaghan
·
|
|
net-http-persistent and rest-client
Looking at ways to speed up my rest-client http requests and I came across net-http-persistent. Is it possible to use net-http-persistent with rest-client? Has anyone tried it before?
thx
-karl
Looking at ways to speed up my rest-client http requests and I came across net-http-persistent. Is it possible to use net-http-persistent with rest-client? Has anyone tried it before?
thx
-karl
|
By
Karl Baum
·
|
|
[WCEEENG 2011] Announcement: The 2011 World Congress on Electronics and Electrical Engineering
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18943"></HEAD>
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18943"></HEAD>
|
By
WCEEENG 2011
·
|
|
rest-client 1.6.1 released
Heya,
I've pushed the rest-client 1.6.1 gem, changes:
- add response body in Exception#inspect
- add support for RestClient.options
- fix tests for 1.9.2 (patch provided by Niko Dittmann)
- block pa
Heya,
I've pushed the rest-client 1.6.1 gem, changes:
- add response body in Exception#inspect
- add support for RestClient.options
- fix tests for 1.9.2 (patch provided by Niko Dittmann)
- block pa
|
By
Archiloque
·
|
|
RestClient + EventMachine 3 messages
Hello,
Back in June Cyril Mougel asked:
use em-http-request instead ?
to which Adam Wiggins replied:
library like RestClient is a no-go.
I too wanted to use a Net::HTTP-dependent library non-bloc
Hello,
Back in June Cyril Mougel asked:
use em-http-request instead ?
to which Adam Wiggins replied:
library like RestClient is a no-go.
I too wanted to use a Net::HTTP-dependent library non-bloc
|
By
James Fairbairn
·
|
|
right format for POST to login API? 4 messages
Is this the right way to use rest-client in terms of passing in a method
and the parameters to that method? Below is my code, and below is the
documentation for the API:
def restlogin
requ
Is this the right way to use rest-client in terms of passing in a method
and the parameters to that method? Below is my code, and below is the
documentation for the API:
def restlogin
requ
|
By
Timothy Fong
·
|
|
RestClient with api - complex headers 4 messages
the api I'm working with is
here<http://apidocs.s3-external-3.amazonaws.com/guide/getting_started.html>
:
I'm able to log in fine and get back an auth token, but cant figure out how
to do anything th
the api I'm working with is
here<http://apidocs.s3-external-3.amazonaws.com/guide/getting_started.html>
:
I'm able to log in fine and get back an auth token, but cant figure out how
to do anything th
|
By
Jonathan Brown
·
|
|
rest-client passing parameters on get request
Thx!
-- Sent from my Palm Pre
On Jul 24, 2010 2:20 PM, Archiloque <code@...> wrote:
Le 24 juil. 2010 à 17:29, Karl Baum a écrit :
> What is the proper way to pass parameters on GET req
Thx!
-- Sent from my Palm Pre
On Jul 24, 2010 2:20 PM, Archiloque <code@...> wrote:
Le 24 juil. 2010 à 17:29, Karl Baum a écrit :
> What is the proper way to pass parameters on GET req
|
By
Karl Baum
·
|
|
rest-client passing parameters on get request 2 messages
What is the proper way to pass parameters on GET request?
thx
-karl
What is the proper way to pass parameters on GET request?
thx
-karl
|
By
Karl Baum
·
|
|
rest-client 1.6.1.a is available for testing
Hi all,
I've pushed a rest-client 1.6.1.a gem to the repository, changes:
- add response body in Exception#inspect
- add support for RestClient.options
- fix tests for 1.9.2 (patch provided by Niko
Hi all,
I've pushed a rest-client 1.6.1.a gem to the repository, changes:
- add response body in Exception#inspect
- add support for RestClient.options
- fix tests for 1.9.2 (patch provided by Niko
|
By
Archiloque
·
|
|
extracting server side root cause exception 2 messages
I am using rest-client to hit a sinatra api that is expected to have
the occasional server side error. I would like to grab the root cause
of this server side error from env["sinatra.error"], but
I am using rest-client to hit a sinatra api that is expected to have
the occasional server side error. I would like to grab the root cause
of this server side error from env["sinatra.error"], but
|
By
Karl Baum
·
|
|
rest-client 1.6.0.a is available for testing
Hi all,
I've pushed a rest-client 1.6.0.a gem on the repository,
Changes:
- forgot to include rest-client.rb in the gem
- user, password and user-defined headers should survive a redirect
- added a
Hi all,
I've pushed a rest-client 1.6.0.a gem on the repository,
Changes:
- forgot to include rest-client.rb in the gem
- user, password and user-defined headers should survive a redirect
- added a
|
By
Archiloque
·
|
|
RestClient eventMachine compatible 4 messages
Hi,
RestClient use Net::Http to request the web. But there are some try to
use em-http-request instead ?
--
Cyril Mougel
http://blog.shingara.fr
Hi,
RestClient use Net::Http to request the web. But there are some try to
use em-http-request instead ?
--
Cyril Mougel
http://blog.shingara.fr
|
By
Cyril Mougel
·
|
|
hash passes as a string? 8 messages
Hi, wasn't sure how to POST the following using rest-client:
POST /2008-08-01/Accounts/AC309475e5fede1b49e100272a8640f438/Calls
HTTP/1.1
Caller=4158675309&Called=4155551212&Url=http://www.mya
Hi, wasn't sure how to POST the following using rest-client:
POST /2008-08-01/Accounts/AC309475e5fede1b49e100272a8640f438/Calls
HTTP/1.1
Caller=4158675309&Called=4155551212&Url=http://www.mya
|
By
Tim Fong
·
|