Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

res.status

res.json({token});

res.status(500).json('Server Error');

return res.status(400).json({
  errors: errors.array()
});
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+9 =