MCPcopy
hub / github.com/ampproject/amphtml / getUrl

Method getUrl

testing/helpers/service.js:185–187  ·  view source on GitHub ↗

* Returns the URL for depositing a request. * * @param {number|string|undefined} requestId * @returns {string}

(requestId)

Source from the content-addressed store, hash-verified

183 * @returns {string}
184 */
185 static getUrl(requestId) {
186 return `${REQUEST_URL}/deposit/${requestId}/`;
187 }
188
189 /**
190 * Returns a Promise that resolves when the request of given ID is deposited.

Calls

no outgoing calls

Tested by

no test coverage detected