Fixed worng HTTP method for file upload API