fixed api requiring ssl