mod. build_request_obj to accept url and request object template separately.

Change-Id: If960163f1de1f3a8629077adee465ea2e79d3887