Incorrect output on console
Incorrect output on console
klermann
Posts: 277Questions: 67Answers: 1
Hello I am using the datatables editor and when I try to send the form the in params in console form data returns me the data in that format and one page of the error 403,
action create
data[0][descricaoReceita] Receita+de+entrada
data[0][dataReceita][year] 20/08/2017
data[0][minhasContas] Conta+4
data[0][tipoReceitas] Tipo+de+receita
data[0][valorReceita] 50000
, How do I send the correct output of an object from that form's datatables editor create
Note: And returns the error in the backend "Request method 'POST' not supported"
This question has accepted answers - jump to:
This discussion has been closed.
Answers
The above format is the default format sent by the editor as described here:
https://editor.datatables.net/manual/server#Create
Are you changing the Editor data for edit and remove? If so then may this thread will help:
https://datatables.net/forums/discussion/comment/81804/#Comment_81804
I would suggest looking at the server's logs to determine why you are getting 403 errors and "Request method 'POST' not supported" errors.
Kevin
I discovered the problem here. The error was happening because my application was blocking the submission url for the server