Posts by Assis Zang • 43 points
4 posts
-
2
votes1
answer25
viewsA: How to decrease values in the database of another table, after performing an Insert
You can create a Trigger so that when a record is inserted in the output table, the value of the stock_product table is updated. Exemlo: CREATE TRIGGER `saida_after_insert` AFTER INSERT ON `saida`…
-
0
votes1
answer141
viewsQ: View html-formatted code from the database on a Javascript page
Hello. I’m building a Javascript blog with Next JS and recording the content of the post in Firebase. I wonder if there is any function in javascript so that when returning the content of the post…
-
0
votes1
answer182
viewsA: ERR_EMPTY_RESPONSE error when sending data via 'POST' to local server
Solved, missed add this: let contentType = req.headers["content-type"]; in the app.
-
-2
votes1
answer182
viewsQ: ERR_EMPTY_RESPONSE error when sending data via 'POST' to local server
Until yesterday it was all right, but after clearing the browser cache, strange as it may seem, I can no longer send data via post to the local server, GET works without problem but the Post is not…