fixed incorrect http method in submitInput