UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

21 lines (20 loc) 680 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetGitProviderServerUrl = void 0; const GitAction_1 = require("./GitAction"); const AbstractRequest_1 = require("../AbstractRequest"); class GetGitProviderServerUrl extends GitAction_1.GitAction { constructor() { super(); this.customPath = "/server-url"; this.defaultRequestConfig = { headers: { 'Accept': 'text/plain' }, withCredentials: true, responseType: "text" }; this.method = AbstractRequest_1.RequestMethod.GET; } } exports.GetGitProviderServerUrl = GetGitProviderServerUrl;