Using Dojo,xhrGet

I am facing problems sending data to controllers in rails from dojo , data grid 1.0.2.. i am not sure about handling the xhrGet method , please let me know the parameters and ways to make a request flow from JavaScript to Rails Controllers.

Thanks In Advance