Questions tagged [rest-client]

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

REST Client is an open-source HTTP and REST client for Ruby originally created by Adam Wiggins and now maintained by Andy Brody. It was inspired by Sinatra's micro-framework style of specifying actions: get, put, post, delete.

Github

The code repository and issue tracker can be found on github:

https://github.com/rest-client/rest-client

Resources

940 questions
-1
votes
1 answer

How do I use RestClient to post as URL params?

I am posting to an API which accepts CURL as follows: curl -v -X POST "https://url.com" -d 'input=frustrated&user_key=3b9ccb48e734fce6b982a9c1c2cef301' I have tried the following with an error: data = {'user_key' => "#{ENV['USER_KEY']}",…
Satchel
  • 16,414
  • 23
  • 106
  • 192
-1
votes
1 answer

Django REST Client

I have server. He return json in next format: { "count": 6, "next": null, "previous": null, "results": [ { "id": 2, "court": "http://reg-corruption.herokuapp.com/api/court/2/", …
Detonavomek
  • 432
  • 5
  • 14
-1
votes
1 answer

Client restful jQuery doesn't work

My idea was to create one function that returns the value of the call at rest service. Code from inside function: ..... var dddd; $.ajax({ type: "GET", url: "http://localhost:8084/GetSomeRest/asdf/ddd/arbol/1", contentType:…
-1
votes
1 answer

Consuming Rest webservices using REST client mozzilla

I am able successfully execute GET Request to the service, now I want to know how to execute POST, PUT,DELETE command through Rest client i executed OPTION command and i got this result
user1269042
  • 121
  • 1
  • 2
  • 8
-2
votes
2 answers

Ruby create array from api response

How to create array or store rest api response to array rest API response {"functionality":[],"subfunctionality": [{"id":1,"title":"a1","description":"sample}, {"id":2,"title":"a2","description":"sample},…
testerBDD
  • 255
  • 3
  • 18
-2
votes
1 answer

Why C# .Net Core RestClient return cryptic response. Postman returns readable json

I have a Postman call that successfully returns readable response, such as: Now, I want to execute the same call via C# and .Net Core RestClient. Postman has an option to generate a code snippet for different languages, here is an example for…
lucas
  • 4,445
  • 6
  • 28
  • 48
-2
votes
1 answer

bundle is locked to rest_client (1.8.3)

Your bundle is locked to rest_client (1.8.3), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of rest_client (1.8.3) has removed it. You'll need to update…
-2
votes
1 answer

What is the difference between RestClient::Request.execute and RestClient.post?

I made a post request with RestClient::Request.execute, which works, but sometimes it ended with a 422(Unprocessable Entity). Afterwards I tried out RestClient.post which didn´t gave me the 422 and worked all the time like a charm. What is the…
dan_0
  • 599
  • 1
  • 5
  • 17
-2
votes
3 answers

Java - REST Client

I almost finished my RESTful API. I created the API with PHP and using SLIM Framework. And for the last step, I should consume the RESTful API that I've created before on Android application. I've some question to ask. Is it possible to use the…
Lazy Guy
  • 101
  • 2
  • 14
-3
votes
1 answer

How to allow insecure connections using Tiny Rest Client?

I have a site that can connet using https but not http. There is no certificate installed in server, so, when connected using htts, a warning is shown. If using a browser, I can allow to browse anyway, however, if I use Tiny Rest Client, a…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
1 2 3
62
63