Fix for extra / on api url.