aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--polldance.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/polldance.js b/polldance.js
index 9530986..cf56770 100644
--- a/polldance.js
+++ b/polldance.js
@@ -183,15 +183,15 @@
var paramList = [];
- paramList.push("callback=" + encodeURIComponent("PollDance._getJsonpCallback(\"" + this._callbackInfo.id + "\")"));
+ paramList.push("_callback=" + encodeURIComponent("PollDance._getJsonpCallback(\"" + this._callbackInfo.id + "\")"));
if (self._method != "GET") {
- paramList.push("method=" + encodeURIComponent(self._method));
+ paramList.push("_method=" + encodeURIComponent(self._method));
}
if (self._headers) {
- paramList.push("headers=" + encodeURIComponent(JSON.stringify(self._headers)));
+ paramList.push("_headers=" + encodeURIComponent(JSON.stringify(self._headers)));
}
if (self._body) {
- paramList.push("body=" + encodeURIComponent(self._body));
+ paramList.push("_body=" + encodeURIComponent(self._body));
}
var params = paramList.join("&");