ming %!s(int64=3) %!d(string=hai) anos
pai
achega
fa349dcb66
Modificáronse 1 ficheiros con 1 adicións e 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({