Hello,
I have an Express POST route that creates a record. When I test the API, it successfully creates the record populated with all the right info (I checked the table). However, I receive no response from the API (Postman times out, and in the console I get - - ms - -).
Here’s a snippet of my Express POST call.
router.post('/submitimportedorders', (req, res) => {
importedCarOrdersTable.create(req.body,
function(err) {
if (err) {console.error(err);}
});
})
Would love some help with this. I can also provide more code if required.