# http request sample: host_ip = '127.0.0.1' port = '443' path = 'hello' # post 127.0.0.1:443/hello/session #{ # 'username' : 'none', # 'password' : 'none' #} request_helper = HelperModule::SimpleHttpsHelper.new(host_ip, port, path) request_helper.post('session') do |content| content.add_parameters({'username' => 'none', 'password' => 'none'}) end # get 127.0.0.1:443/hello/userid?name=none request_helper.get('userid') do |content| content_add_parameters({'name' => 'none'}) end
Project
simple-http-helper
A simple http(s) request helper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Project Readme