changed api url to relative instead of ecsel