fix checking for localizator api request method type