Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Ajax request
- @response = request(url(:help), "HTTP_X_REQUESTED_WITH" => "XMLHttpRequest")
- # HTTP Method — "POST", "GET", "DELETE", "PUT"
- @response = request(url(:help), :method => "POST")
Add Comment
Please, Sign In to add comment