Fix bulk api https