HTTPI provides a common interface for Ruby HTTP libraries.
Questions tagged [httpi]
20 questions
0
votes
0 answers
HTTPI unable to pass array params
@request.url = url
@request.headers = {"Content-Type" => "application/x-www-form-urlencoded; charset=utf-8"}
@request.body = {a: "1", b: "2", c: [{d: "3"}, {e: "4"}]}
The problem is that the server side could receive params like a or b, but…

Vau
- 77
- 4
0
votes
2 answers
Which cert bundle does httpi is using
I am wondering which certificates bundle does httpi is using?
I am using centOS 5 that has ca-bundle.crt under /etc/pki/tls/certs/ca-bundle.crt
It seems that openSSL is using the above ca-bundle but httpi is not ?

ConfusedUser
- 351
- 1
- 4
- 14
0
votes
1 answer
Ruby HTTPI gem for Amazon Product API returns SignatureDoesNotMatch
I've been debugging ASIN gem for Amazon product API which uses HTTPI.get(url)
It was working fine until most recently, the HTTPI.get(url) request returns the following error:
HTTPI GET request to webservices.amazon.com (excon)
got response='

Ian Lin
- 384
- 1
- 5
- 20
0
votes
2 answers
savon HTTPI POST EOFError: end of file reached
I tried to use the SOAP service using savon v2.0.3 and its throwing error which I am not able to debug.
I have the following code
client = Savon.client(wsdl: $APP_CONFIG["billing_url"])
response = client.call({{method_name_in_symbolic_form}},…

Gagan
- 4,278
- 7
- 46
- 71
0
votes
1 answer
How to assign port for HTTPI?
I'm using httpi library.
Usually in http libraries we can set a port for http connection, but in httpi I can't.
How to assign port for HTTPI connection?

megas
- 21,401
- 12
- 79
- 130