ming hace 3 años
padre
commit
fa349dcb66
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/static/script_util.js

+ 1 - 1
api/static/script_util.js

@@ -108,7 +108,7 @@ $(".next").click(function () {
   xhr.open("POST", "http://192.168.1.106:8007/make_anchor_video");
   xhr.setRequestHeader("accept", "application/json");
   xhr.setRequestHeader("Authorization","Bearer "+jwt_token)
-  xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+  xhr.setRequestHeader("Content-Type", "application/json");
   xhr.onreadystatechange = function () {
     if (xhr.readyState === 4) {
       Swal.fire({