1👍
You might just perform a normal asynchronous post as you’d do with Javascript or jQuery for a certain URL with your data.
For doing so with javascript, just create a XMLHttpRequest with whatever you have and send it.
With jQuery is even simpler.
jQuery:
$.post('/your_url' {
your_item: value
other_item: value2,
},
success: function(data) {
alert(data);
});
edit:
The answer is no. Just handle the result in a view anyway.
Source:stackexchange.com