Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6c1f5f9e4a
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (6 sloc) 0.199 kb
1 2 3 4 5 6
client = HTTPClient.new
test_http("httpclient") do
  resp = client.get_content(URL, nil, "X-Test" => "test")
  data = JSON.parse(resp)
  raise Exception.new unless data.first["number"] != 123123
end
Something went wrong with that request. Please try again.