79349506

Date: 2025-01-12 07:38:19
Score: 1
Natty:
Report link

What you respond from /users is a JSON string instead of a JSON object, because of that plus the defaultContentType of GetHttpClient is 'application/json; charset=utf-8', you got null in the Flutter client.

So instead of res.status(200).send(JSON.stringify(users, null, "\t")); you could try respond the object directly res.status(200).send(users);

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Hieu Pham