Encoded url doesnt provide the correct data


#1

Hello,
I am trying to query flights in certain latitude and longitude.

The below url returns the correct data in a browser
https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?query={range%20lat%2038.8863%2040.897669}%20{range%20lon%20-79.03655%20-77.1236}

In the Geoevent server, the url has to be encoded but I don’t get the correct data after I encode it
base url - https://id:key@flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight

query url - %7Brange%2520lat%252038.8863%252040.897669%7D%2520%7Brange%2520lon%2520-79.03655%2520-77.1236%7D

What am I doing wrong? any thought? thanks in advance!!