How do I obtain and show successful messages (contained in a JSON) from back-end to front-end using NodeJS and React?

前端 未结 0 1168
说谎
说谎 2020-12-20 00:43

For example, I wanted to show a message on the landing after the user do signup

  res.status(201).json({ message: \'Welcome, please login\' });
相关标签:
回答
  • 消灭零回复
提交回复
热议问题