@trivia-api/fetch
Version:
Functions to fetch data from The Trivia API.
14 lines (13 loc) • 440 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.headers = exports.TRIVIA_API_BASE_URL = void 0;
exports.TRIVIA_API_BASE_URL = "https://the-trivia-api.com/v2";
/**
* Headers used whenever sending a request using this package.
*/
exports.headers = {
accept: "application/json",
"cache-control": "no-cache",
"content-type": "application/json",
"X-Requested-With": "@trivia-api/fetch",
};