Commit 6eba1a9
Eric Castro
Fix Content-type value on POST (and other methods != GET)
Fixes sending the wrong Content-Type header by removing the
application/json value it was wrongly setting by default. Only
application/x-www-form-urlencoded is now sent, so the server can
interpret the HTTP body accordingly.1 parent 04926b9 commit 6eba1a9
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
| |||
0 commit comments