make api url ssl by default