The HTTP request is unauthorized with client authentication

I am getting below Error while accessing Flight Aware API

"The HTTP request is unauthorized with client authentication scheme ‘Anonymous’. The authentication header received from the server was ‘Basic realm=“FlightXML2”’.

While inner exception gives me message as below.

“The remote server returned an error: (401) Unauthorized.”

You are probably not passing your credentials (username and password) the right way.
Have you looked at the example codes on this page? flightaware.com/commercial/flig … ation2.rvt
What language are you using?