factored out general request method
indentation
Merge branch 'master' of https://github.com/pavel-shpilev/nab-iday