Created
July 27, 2022 02:20
-
-
Save emmaly/fbb661a80a0c3fb49ea9732d4db4cd82 to your computer and use it in GitHub Desktop.
JSDoc for Google Apps Script doGet/doPost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JSDoc for Google Apps Script doGet/doPost | |
/** | |
* @param {object} e | |
* @param {string|null} e.queryString - The value of the query string portion of the URL, or `null` if no query string is specified | |
* @param {Object.<string,string>} e.parameter - An object of key/value pairs that correspond to the request parameters. Only the first value is returned for parameters that have multiple values. | |
* @param {Object.<string,string[]>} e.parameters - An object similar to `e.parameter`, but with an array of values for each key | |
* @param {number} e.contentLength - The length of the request body for POST requests, or -1 for GET requests | |
* @param {object} e.postData - An object constructed from the POST body of POST requests, or `null` for GET requests | |
* @param {number} e.postData.length - The same as `e.contentLength` | |
* @param {string} e.postData.type - The MIME type of the POST body | |
* @param {string} e.postData.contents - The content text of the POST body | |
* @param {string} e.postData.name - Always the value `postData` | |
*/ | |
function doGet(e) {} | |
function doPost(e) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment