PR - Fixed wrong http status code. Use 405 instead of 400.