Tweak how request is generated for commandline.

Signed-off-by: crynobone <crynobone@gmail.com>