How to send integers in query parameters in nodejs Express service
express, node.js
Solution
You can't, as HTTP has no notion of types: everything is a string, including querystring parameters.
What you'll need to do is to use the `req.query` object and manually transform the strings into integers using `parseInt()`:
req.query.someProperty = parseInt(req.query.someProperty);
Problem
I have a nodejs express web server running on my box. I want to send a get request along with query parameters. Is there any way to find type of each query parameter like int,bool,string. The query parameters key value is not know to me. I interpret as a json object of key value pairs at server side.