Creating a search endpoint in Mongo and NodeJS

I’ve been teaching myself basically a MERN CRUD project but haven’t done anything on the front end as of yet. I have been able to get the API working properly on all the basic crud functionality. The thing I’ve been struggling with is constructing an endpoint that allows someone to search the MongoDB and return… Read More Creating a search endpoint in Mongo and NodeJS

Is it conceptually right to create a rest API using the post for every request?

I’m developing a rest API that, once you’ve bought a paid plan and received an apiKey, you can create a maximum of a certain number of apps depending on the paid plan chosen. I’m using node.js and to handle requests I’m using HTTPS module like this: https.createServer(options, (req, res) => { res.writeHead(200); req.on(‘data’, function (data)… Read More Is it conceptually right to create a rest API using the post for every request?