method

get

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActionController::Integration::Session
get(path, parameters=nil, headers=nil) public

Performs a GET request with the given parameters. The parameters may be nil, a Hash, or a string that is appropriately encoded (application/x-www-form-urlencoded or multipart/form-data). The headers should be a hash. The keys will automatically be upcased, with the prefix ‘HTTP_’ added if needed.

You can also perform POST, PUT, DELETE, and HEAD requests with #post, #put, #delete, and #head.

Show source
Register or log in to add new notes.