카테고리 없음2016. 8. 12. 09:28
반응형


get

$(location).attr('href', 'http://'+window.location.host+'/api/v1/sample/excel');


post 


var jForm = $("#frm");

jForm.attr('action', 'http://localhost:8080/api/v1/sample/excel');

jForm.attr('method', 'post');

jForm.submit();


Posted by 1010