Moved request building to separate function, so that it can be reused in to TV part