Questions tagged [curb]

Curb provides Ruby-language bindings for the libcurl, a fully-featured client-side URL transfer library.

Curb provides Ruby-language bindings for the libcurl, a fully-featured client-side URL transfer library. See https://github.com/taf2/curb

125 questions
0
votes
2 answers

Specifying IP for Some Domainname

I am calling a number of apis of a web service hosted on a number of servers. Requests get routed to these servers at random through a load balancer. All these servers reside on my local network and I want one particular api call to go to one…
azi
  • 929
  • 1
  • 11
  • 31
0
votes
1 answer

Performing an HTTP PATCH using Ruby curb

I'm trying to do an HTTP PATCH using curb. Looking through the code, there doesn't seem to be a method exposed for this. Is there any way to use curb to do a PATCH? If not, what other libraries or methods are there in Ruby to accomplish this?
Javid Jamae
  • 8,741
  • 4
  • 47
  • 62
0
votes
1 answer

Installing curb on ruby1.8.6

I cannot install curb on Windows 7 x64 with ruby1.8.6 p111: ruby extconf.rb install curb-0.8.1.gem -- --with-curl-dir=C:\curl-7.26.0 checking for curl-config... no checking for main() in curl.lib... no *** extconf.rb failed *** Could not create…
ted
  • 5,219
  • 7
  • 36
  • 63
0
votes
1 answer

Using Curb in Rails for Streaming

Is it feasible to use curb in rails for managing and processing a streaming API? I have used it before for a one-time request, but haven't seen any examples of using it in a streaming situation. If it is possible - any thoughts on what the code…
matthewvb
  • 932
  • 2
  • 11
  • 21
0
votes
2 answers

Can I use curl or curb to POST to a form that uses rails' Cross-site request forgery protection?

I have a simple rails webpage where a user enters in a few textfields and uploads a picture. Rails then stores the picture and updates the databases on the server. It works fine. However, I also need a script on another computer to update the web…
Steve Quezadas
  • 724
  • 2
  • 11
  • 27
1 2 3
8
9