I am using ExtJs and I need to pass a date in Ext.Ajax.request, but I dont know how can I do it. I am trying the following code:
dateController: function(botao){
Ext.Ajax.request({
url: Webapp.link("research/2012-09-18T14:30:00/8"),
method: 'get',
success: function(response){
console.log(response);
}
});
}
The first one parameter in URL is the date and second one is the product id.
How about
Or you could do it using the params (I never tried this with get, but it should work as well)