$.ajax({
type:"post",
url: server_url,
dataType: "jsonp",
jsonpCallback: callback,
data:req_json,
cache: false,
timeout: 60000,
success: succeeded,
error: got_error
});
I am trying the above code for sending POST requset but at the server side is always receiving GET request only , can anybody tell my why is this happening? thanks in advance..
server_url is like http://ip:8007