We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d97b0f commit 7cb82deCopy full SHA for 7cb82de
requests.js
@@ -5,6 +5,7 @@
5
* @param {Object} params The GET request parameters in object format
6
* @param {String} verify_token The verification token
7
* @returns {String} The challenge string, it must be the http response body
8
+ * @throws {Number} 400 if the request is missing data
9
* @throws {Number} 403 if the verification tokens don't match
10
*/
11
function get(params, verify_token) {
@@ -24,6 +25,9 @@ function get(params, verify_token) {
24
25
throw 403;
26
}
27
28
+
29
+ // Responds with "400 Bad Request" if it's missing data
30
+ throw 400;
31
32
33
/**
0 commit comments