put

put(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a PUT request with the given parameters. See #get for more details.

post_via_redirect

post_via_redirect(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a POST request, following any subsequent redirect. See request_via_redirect for more information.

post

post(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a POST request with the given parameters. See #get for more details.

patch_via_redirect

patch_via_redirect(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a PATCH request, following any subsequent redirect. See request_via_redirect for more information.

patch

patch(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a PATCH request with the given parameters. See #get for more details.

head

head(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a HEAD request with the given parameters. See #get for more details.

get_via_redirect

get_via_redirect(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a GET request, following any subsequent redirect. See request_via_redirect for more information.

get

get(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a GET request with the given parameters. path: The URI (as a String) on which you want to perform a GET request. parameters: The HTTP parameters that you want to pass. This may be nil, a Hash, or a String that is appropriately encoded (application/x-www-form-urlencoded or multipart/form-data). headers_or_env: Additional headers to pass, as a Hash. The headers will be merged into the Rack env has

follow_redirect!

follow_redirect!() Instance Public methods Follow a single redirect response. If the last response was not a redirect, an exception will be raised. Otherwise, the redirect is performed on the location header.

delete_via_redirect

delete_via_redirect(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a DELETE request, following any subsequent redirect. See request_via_redirect for more information.