Posts

Showing posts from November 24, 2018

Dynamic-like Express routing for dynamic-object to print

Image
up vote 0 down vote favorite I'm sending an object back to express that needs to be printed via escpos (for a thermal printer on Ubuntu 18). My front end server is react. I need to print 'receipts' for information that can be of a variety of object after the first set of variables date name customer name customer phone [array of objects] I can create a route for the first set of vars router.post('/printer/:date/:name/:custName/:custPhone/', function(req,res,next) { But is it possible to add to that route dynamically for object that can be various such as: type: 'pizza', drinks : '2' or extra : 'garlic bread' I current send the data back like this in the front end: axios.post('/api/printer/' + newDate + '/' + userName + '/' + selectedCustomerName + '/' + selectedCustomerPhone) I've considered posting such as this: axios.post('/api/printer', name : userName, date : newDate, customerN...

N-甲基-D-天門冬胺酸受體

Image
NMDA ( 英语 : NMDA ) 穀氨酸 一個NMDA受體的示意圖。麩胺酸鹽會與麩胺酸鹽結合位結合,而甘胺酸會與甘胺酸結合位結合。而會造成抑制受體活性的異位並沒有被佔據。NMDA受體需要有兩分子麩胺酸鹽或天門冬胺酸,與兩分子甘胺酸進行結合 [1] 。 N-甲基-D-天門冬胺酸受體 ( 英语: N-methyl-D-aspartate receptor ,簡稱 NMDA受...