The fcli fod session login command currently requires the FoD API URL to be passed to the --url option, however users may be tempted to pass the portal URL instead. Assuming all FoD instances use the api.<portal-host> as the host name for accessing API endpoints, the fcli fod session login command should add the api. prefix to the given URL if it doesn't already start with api., thereby having the --url option accept both API and portal URLs.
The
fcli fod session login
command currently requires the FoD API URL to be passed to the--url
option, however users may be tempted to pass the portal URL instead. Assuming all FoD instances use theapi.<portal-host>
as the host name for accessing API endpoints, thefcli fod session login
command should add theapi.
prefix to the given URL if it doesn't already start withapi.
, thereby having the--url
option accept both API and portal URLs.