Need help converting to async http call

Would appreciate any help i can get or pointers:
trying to translate the following api call to an asynchttpGet call in a device driver:

curl "https://api.ambiclimate.com/api/v1/device/sensor/humidity"
-X GET -G
-H "Accept: application/json"
-H "Authorization: Bearer "
-d 'room_name=Master%20Bedroom'
-d 'location_name=Home' \

Currently succeeding to get an answer back for a 'GET' call without the '-d' parameters, but can't figure out how to include the '-d' section inside the call.

Any help or pointers appreciated!
Here's where i am at right now in terms of code, and it's returning HTTP Error 400:

def sendAmbiGetTemp() {
def params = [
uri: "https://api.ambiclimate.com",
path: "/api/v1/device/sensor/temperature",
requestContentType: "application/json",
headers: ["Authorization": "Bearer "]
]
def data = ["location_name": "home", "room_name":"office"]
log.info params+data
asynchttpGet("handleGetResponse", params, data)
}

Found the answer myself:
including query in the path solves the issue like such:

path:"/api/v1/device/sensor/temperature?room_name=Master%20Bedroom&location_name=Home"