rest-client Questions

3

Solved

I am trying to evaluate the right tool to test RESTful Web services and eventually automate the same for our project. Wondering, what are the specifications I need to look for such test, when...
Ludicrous asked 22/8, 2013 at 23:18

5

Solved

I've spent my whole day trying to figure out this problem. Posting this issue here is my last hope. I hope someone can help to continue working on my first job. So, POST works fine when directly p...

1

Solved

To give a little context to my issue... I have a Java EE web application (as a UI / client) that accesses services for data / business logic via a REST interface using the JAX-RS 2.0 client API (R...
Hutt asked 2/1, 2016 at 13:11

2

Solved

Currently, I'm getting HttpResponseException, which has only statusCode. How can I get complete body of response? Here is code I'm using restClient = new RESTClient("http://${Server}") try { Htt...
Rebec asked 3/3, 2015 at 23:20

2

Solved

I am trying to use a rest API to download a file, it appears to work, but I dont actually have a file downloaded. I am assuming its because its going to memory, and not to my file system. Below i...
Syngamy asked 7/12, 2015 at 18:3

1

Solved

I am using Mozilla fire fox add-on RESTClient to test my web-services. Up to this I was using POST method by setting header Content-Type:application/x-www-form-urlencoded and data separated by &amp...
Clomp asked 11/5, 2015 at 12:28

1

Solved

I'm new in ruby (and in programming too) I have built this code: #This method executing a url and give the response in json format def get url return JSON.parse(RestClient::Request.execute(met...
Flagg asked 8/8, 2015 at 15:9

3

Solved

I'm using the Groovy RESTClient class to do write some (spock) Acceptance tests for Java WebServices I've been authoring. One frustration I've had is in testing the responses... 200 Status's are ...
Predicative asked 23/10, 2013 at 16:4

2

I have a REST client on node, and I'm trying to upload pdf a file to another REST webserver which provides the ability to parse my pdf and extract some data. Basically it is a service. The npm pack...
Transmission asked 30/6, 2015 at 23:54

2

Solved

I need to create an application that dialogues with a REST server. I found that answer: Android REST client, Sample? but it's of 2012. Is there a tutorial that I can follow (and that you suggest)...
Maidenhood asked 1/7, 2015 at 23:2

3

Solved

I have already created a basic authentication key, now I am just trying to utilize it. I have tried a few different variations, but none seem to show Authorization in the request headers. $auth = ...
Goncourt asked 2/1, 2014 at 19:56

1

Solved

Usually I used to check for the server different code responses in my RestClient class using the org.apache.http.HttpStatus class as the following example: if (HttpStatus.SC_OK == restClient.getRe...
Bloat asked 29/4, 2015 at 10:40

24

Solved

My organization is working on building RESTful webservices on JBoss appserver. The QA team is used to testing SOAP webservices so far using SoapUI. SoapUI has a new version that has REST capa...
Irwinirwinn asked 15/10, 2008 at 2:6

3

Solved

I am working with Spring MVC using JSON objects. while I am tring to send JSON Object from RESTClient, I am getting HTTP Status 400 - The request sent by the client was syntactically incorrect ...
Nut asked 8/1, 2013 at 5:23

3

Solved

I made my own REST client library for an Android application, but after watching the Google I/O presentation on the subject I realized I had it all wrong (precisely what they show slide 9). ...
Cuthburt asked 3/8, 2011 at 17:28

3

Solved

I just started to learn Ruby and after some basic things, I'm trying to understand making REST calls to a service in ruby. I can make get requests to foursquare API without any trouble. On the othe...
Vingtetun asked 6/1, 2015 at 9:17

2

Solved

I've been trying to make a POST request in my CodeIgniter RestClient controller to insert data in my RestServer, but seems like my POST request is wrong. Here is my RestClient POST request in cont...
Komi asked 12/12, 2014 at 9:7

3

Solved

My production server is Ubuntu 12. I'm using Devise + OmniAuth to handle the Google authentication. But when Google returns a control to my application I get an error "Network is unreachable". I as...
Fornax asked 14/8, 2012 at 8:38

1

Solved

I am using the latest version of rest-client gem and upon external access I see a lots of RestClient::ServerBrokeConnection errors, how should I handle this? The following call fails response = R...
Vlaminck asked 8/12, 2014 at 3:1

2

Solved

Using the RestClient gem, I need to create a request such as the following: GET http://host/path?p=1&p=2 What is the proper syntax to accomplish this? Note that the receiving host is not Rai...
Botany asked 22/10, 2014 at 19:30

2

Solved

How do I execute the below query(given in doc) using rest client. curl -XGET 'http://localhost:9200/twitter/tweet/_search' -d '{ "query" : { "term" : { "user" : "kimchy" } } } ' I tried doing...
Pneumatograph asked 20/10, 2012 at 11:59

1

Solved

I'm accessing different servers for data and I tried different methods in different classes, using the basic http::net, curb, rest-client and open-uri (1) How to measure performance in Ruby / Rai...
Chapfallen asked 12/7, 2013 at 15:56

1

Solved

I am trying to read the body of a 400 response with the rest-client gem. The problem is that rest-client responds to 400 by throwing it as an error, so I can't figure out any way to get the body te...
Gavrila asked 13/5, 2014 at 5:20

6

I need to send multiple requests to many different web services and receive the results. The problem is that, if I send the requests one by one it takes so long as I need to send and process all in...
Amboina asked 10/2, 2014 at 6:31

1

Solved

I want to send GET-Requests which shall be answered by my REST-API. My java programm currently supports text/plain, text/html, text/xml and application/json using the JAX-RS Reference Implementatio...
Perri asked 31/7, 2013 at 7:23

© 2022 - 2024 — McMap. All rights reserved.