method
xml_http_request
v3.1.0 -
Show latest stable
-
0 notes -
Class: ActionDispatch::Integration::RequestHelpers
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0 (0)
- 3.0.5 (0)
- 3.0.7 (0)
- 3.0.9 (-7)
- 3.1.0 (5)
- 3.2.1 (-1)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13 (-38)
- What's this?
xml_http_request(request_method, path, parameters = nil, headers = nil)
public
Performs an XMLHttpRequest request with the given parameters, mirroring a request from the Prototype library.
The request_method is :get, :post, :put, :delete or :head; the parameters are nil, a hash, or a url-encoded or multipart string; the headers are a hash. Keys are automatically upcased and prefixed with ‘HTTP_’ if not already.


