Files
MoreTore/tools/replay/api.h
T
Test User b965950a7a Update URLs from connect.comma.ai to stable.konik.ai across documentation and codebase
- Changed references in logs.md, pull request template, and various UI components to point to stable.konik.ai.
- Updated pairing dialog and related translations to reflect the new URL.
- Modified API endpoints and documentation to ensure consistency with the new domain.
- Ensured all instances of connect.comma.ai are replaced with stable.konik.ai in user-facing messages and code comments.
2026-01-22 16:25:41 -06:00

16 lines
430 B
C++

#pragma once
#include <curl/curl.h>
#include <string>
#include "common/util.h"
#include "third_party/json11/json11.hpp"
namespace CommaApi2 {
const std::string BASE_URL = util::getenv("API_HOST", "https://api.konik.ai").c_str();
std::string create_token(bool use_jwt, const json11::Json& payloads = {}, int expiry = 3600);
std::string httpGet(const std::string &url, long *response_code = nullptr);
} // namespace CommaApi2