mirror of
https://github.com/tenrok/axios.git
synced 2026-05-21 13:24:11 +03:00
a63e7cd8ca
undefined is not valid JSON, make the value null instead. JSON.parse(undefined) will throw an exception while JSON.parse(null) is acceptable. http://stackoverflow.com/a/14946821/5012948