Topic: Table-Editor (HTTP-Request) POST & GET
iMDatec_tkunick pro premium priority asked 3 years ago
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?
iMDatec_tkunick pro premium priority answered 3 years 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.
Marcin Luczak staff commented 3 years 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: Other
- MDB Version: -
- Device: Computer
- Browser: Edge
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Marcin Luczak staff commented 3 years 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