Updated end point URLs

Had incorrect URL format for the API endpoints