I am sending body in GET request in sails.js framework which internally uses express.js
curl -u username:password -i -H "Accept: application/json" -X GET -d "msisdn=32323" http://localhost:9000/api/v1.1/buy/voucher/raj/32323
i am trying to get the value of msisdn in req.body of express but it is giving me undefined.
I read on internet and it says we can send body in GET request. You can refer this stackoverflow thread. HTTP GET with request body