MCPcopy Create free account
hub / github.com/ampproject/amphtml / sendPost

Method sendPost

third_party/subscriptions-project/swg.js:13761–13761  ·  view source on GitHub ↗

* POST data to a URL endpoint, get a Promise for a response * @param {!string} unusedUrl * @param {!../proto/api_messages.Message} unusedMessage * @return {!Promise<!../utils/xhr.FetchResponse>}

(unusedUrl, unusedMessage)

Source from the content-addressed store, hash-verified

13759 * @return {!Promise<!../utils/xhr.FetchResponse>}
13760 */
13761 sendPost(unusedUrl, unusedMessage) {}
13762}
13763
13764/**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected