Topic: Table-Editor (HTTP-Request) POST & GET

iMDatec_tkunick priority asked 10 months ago


enter image description here I've use the MDBootstrap-Advanced and especially 'tableEditor'. i connect this to django backend but now i have a problem i can't send a 'POST' HTTP to back-end. 'tableEditor' sends always 'GET'

how can i solve the problem or how can i treat it?


Marcin Luczak staff commented 10 months ago

Hi,

Could you please specify how you are handling HTTP requests on your frontend layer of the application and how you are using Table editor for that? Table editor doesn't send any requests by itself, you have to manually listen for its certain events e.g 'update.mdb.tableEditor' and create requests on your own.

Keep coding, Marcin


iMDatec_tkunick priority answered 10 months ago


Actually this way is sent 'HTTP-Request (GET or POST)' in HTML

But because I use 'Table-editor' I can't. Because 'Table-editor' is automatically built in the back, only it should be called in this way.enter image description here


Marcin Luczak staff commented 10 months ago

Unfortunately, I can't see any place where you are making an HTTP request here, it's just plain HTML code. Can you please show how Table editor is 'built in the back' and how it is sending the HTTP request? As I mentioned Table editor doesn't make any HTTP calls by itself, so there must be a part of your code in which you're telling Table editor to reach the /delete/5 endpoint



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: Other
  • MDB Version: -
  • Device: Computer
  • Browser: Edge
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No