I installed my api rest in my hosting using cPanel. The routes work perfect and the db is connected. The problem is when I need to use any mongoose method, i.e. model.find({})
, the response is
Incomplete response received from application
For other routes, that don't return any data from the DB, works perfect, using json
format.