@vepler/http-client
Version:
A flexible and extensible API service library for making HTTP requests with built-in authentication support for bearer tokens and API keys.
16 lines • 542 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var index_1 = __importDefault(require("./index"));
var instance = index_1.default.create({
host: 'https://api2.propbar.co.uk/property',
logLevel: 'debug',
});
instance.query("/propertyId/SDl0M2Fjbk45c3Zac0hGbmtLQ0dqdz09", {
attributes: 'pricing.currentSale'
}, {
apiKey: ""
});
//# sourceMappingURL=test.js.map