Extjs POST требует шоу "403error" - PullRequest
0 голосов
/ 06 ноября 2018

Я сталкиваюсь с ошибкой 403, когда приложение, выполняющее POST, требует:

//some controller code
         {text: 'save',
          ui: 'confirm',
          scope: this,
          handler: function() {
              Ext.Ajax.request({
              url:'/api/renter/',
              method:'POST',
              params: {

                "document": "",
                "document_num": "",
                "legal_type": "",
                "_represent": "",
                "position_represent": "",
                "certificate": ""

              },
              jsonData:{
                   ReplaceAllRefs: true
              }
          })
      }

Когда я нажимаю кнопку «Сохранить», POST-запрос не выполняется успешно. В браузере Chrome отладка вижу:

ext-modern-all-debug.js:15778 POST http://localhost:8001/api/renter/?document=&document_num=&legal_type=&_represent=&position_represent=&certificate= 403 (Forbidden)

Что-то не так? Как это решить? Gracias.

...