moved api to be part of path rather than in host name
moved api to be part of path rather than in host name