fix method 'PUT' of http to 'GET'