PDA

View Full Version : Passing an HTTP HEAD Request



Yemi
20 Mar 2015, 1:13 AM
I want to make an HTTP HEAD request in Ext JS. I am not sure how to do this. If for example I am making an Ajax Call is it possible to do: Note that I am not making a GET or POST request with Headers


Ext.Ajax.request({
url: urlPath
method: 'HEAD',
params:{ "param1" :paramval,

}




will this work ? On the serverside (Java). I am trying to use req.getParameter("param1") ? This returns null presently

Gary Schlosberg
24 Mar 2015, 5:12 AM
Here's a thread with a discussion that might help:
http://www.sencha.com/forum/showthread.php?75858