How does nodejs send a GET request with JSON?

  node.js, question
GET /megacorp/employee/_search
 bracket
 "aggs" : {
 "all_interests" : {
 "terms" : { "field" : "interests" },
 "aggs" : {
 "avg_age" : {
 "avg" : { "field" : "age" }
 bracket
 bracket
 bracket
 bracket
 bracket

I need to send a GET request with JSON to elastic-search, just like curl

curl -XGET 'http://localhost:9200/_search' -d '{
 "type":"123"
 }'

Or can JSON be converted into a generic url with parameters?

= = = = = = = = = = = = = = = = = = = = = = = = = = = = solved! !
var json={};
GET ‘http://localhost:9200/_search? Source=’ plus JSON.stringify(json)

Converts to string as an argument to get requests
Parse () into json in the background
But to Attention span