diff --git a/js/privatebin.js b/js/privatebin.js index c6d2c772..042c9ddb 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4792,7 +4792,10 @@ jQuery.PrivateBin = (function($, RawDeflate) { * @readonly * @enum {Object} */ - const ajaxHeaders = {'X-Requested-With': 'JSONHttpRequest'}; + const ajaxHeaders = { + 'X-Requested-With': 'JSONHttpRequest', + 'Content-Type': 'application/json' + }; /** * called after successful upload