UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines 580 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Get Headers of URL * @section Content Types > Web > URLs * @icon Downloads * * Retrieves the HTTP headers of the URL passed as input using a HEAD request. * * ```js * getHeadersOfURL(); * ``` */ const getHeadersOfURL = () => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.url.getheaders', WFWorkflowActionParameters: {}, }); exports.default = utils_1.withActionOutput(getHeadersOfURL); //# sourceMappingURL=getHeadersOfURL.js.map