REST Client is an open-source HTTP and REST client for Ruby.

learn more… | top users | synonyms

0
votes
0answers
9 views

rescue in create_user': undefined method `check_response_code' for :Util:Symbol (NoMethodError)

i hope someone could help me with following error in ruby and the gem thor, and sorry for my bad english. i have a class that create an domain with restclient and json, so now i want throw some ...
-1
votes
1answer
24 views

Json Parse error in ruby

<?xml version="1.0" encoding="UTF-8"?><ns1:User xmlns:ns1="http://www.xxxxx.com/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ...
0
votes
1answer
51 views

RestClient failing to GET resource using SSL client certificate

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'), ...
0
votes
1answer
19 views

RestClient POST doesn't display status on header-only response

I have a Rails action which responds with head :ok, rather than rendering any content. I'm calling this action using RestClient, like so: resp = RestClient.post("#{api_server_url}/action/path", ...
1
vote
1answer
29 views

How to traverse a neo4j graph using python neo4jrestclient

I'm trying to follow the code example here: https://neo4j-rest-client.readthedocs.org/en/latest/traversals.html n1.traverse(types=[client.All.Knows])[:] But I don't understand what kind of obect ...
0
votes
0answers
38 views

Getting correct POST response

I am trying to parse the prices from this page however the GET request returns the page with '$0.00' for the prices. Using Firebug I've found that the site makes a POST request who's response has the ...
0
votes
1answer
29 views

File upload with RestClient.execute and timeout

I am trying to upload a file with the following call RestClient::Request.execute(method: :post, url: Paperclip::Storage::Http::FILE_UPLOAD_LOCATION, password: ...
1
vote
1answer
99 views

Handle Connection and Read Timeouts for RestClient calls in android

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 httpFactory ...
0
votes
0answers
36 views

Post media in RestSharp doesn't work

I want to attach a file to post request, but it doesn't work. public override string Post(string url, object payload) { IRestRequest request = CreateRequest(url, Method.POST); ...
0
votes
1answer
56 views

Using Grails for Web Service Client Project

I'm currently researching on Grails, if it would be a good choice to go with a Web Service client project. It is said Grails is highly beneficial for developing Admin Portals and Prototypes. However ...
2
votes
1answer
46 views

Django Rejecting POST with Firefox RESTClient & Jersey, Works with Chrome POSTMAN and curl

I don't know much about Django but I need to write a client that interacts with a Django REST service. GET works for me in all 4 interfaces I've tried: Chrome POSTMAN, Firefox RESTClient, Jersey ...
0
votes
0answers
22 views

Upload video in chunks in Ruby Restclient

I have 3 uploading urls ["http://uploading.com/file_size/00-10","http://uploading.com/file_size/11-20","http://uploading.com/file_size/21-30"] I have one video file of 4 MB I am using Restclients ...
0
votes
1answer
50 views

How can I display my tweet feed with Rest Client and Codeigniter?

I have got all my tweet feed displaying... but it is completly out of format. COuld anyone point me in the right direction for the finishing touches? I have created a tweet model, with the results ...
0
votes
1answer
49 views

Grails : org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.NoSuchMethodError: org/apache/http/protocol/BasicHttpContext.<init>()V

I'm using grails restclient plugin(':rest:0.7') to consume rest grails rest services. Here is my code: def restClient = new RESTClient(ServiceURL) def httpResponseDecorator = ...
0
votes
1answer
48 views

What is the difference between timeout and open timeout?

In the Ruby RestClient gem, what's the difference between the timeout and open-timeout functionality? ...

1 2 3 4 5 11
15 30 50 per page