bugfix #2 for other than GET method requests