Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 220 Bytes
header = {"X-Test" => "test"}
header_str = ""
header.each { |key, value| header_str += "-H \"#{key}: #{value}\" "}
test_http("curl") do
response = `curl #{header_str} -s #{URL_STRING}`
verify_response(response)
end
Jump to Line
Something went wrong with that request. Please try again.