We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3317168 commit b8ec936Copy full SHA for b8ec936
src/client.js
@@ -192,7 +192,9 @@ request.types = {
192
*/
193
194
request.serialize = {
195
- 'application/x-www-form-urlencoded': qs.stringify,
+ 'application/x-www-form-urlencoded': (obj) => {
196
+ return qs.stringify(obj, { indices: false, strictNullHandling: true });
197
+ },
198
'application/json': safeStringify
199
};
200
src/node/index.js
@@ -98,7 +98,9 @@ exports.protocols = {
98
99
100
exports.serialize = {
101
102
103
104
105
106
0 commit comments