fix: add protocol to api url configuration options and to api_path variable