# FlightXML v3 - Github test won't run

**URL:** <https://discussions.flightaware.com/t/flightxml-v3-github-test-wont-run/31393>\
**Category:** AeroAPI\
**Created:** [February 10, 2018, 5:23am UTC](https://discussions.flightaware.com/t/flightxml-v3-github-test-wont-run/31393 "2018-02-10T05:23:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![felicia214](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/felicia214/32/8620_2.png) [@felicia214](https://discussions.flightaware.com/u/felicia214)\
**Post date:** [February 10, 2018, 5:23am UTC](https://discussions.flightaware.com/t/flightxml-v3-github-test-wont-run/31393/1 "2018-02-10T05:23:24Z")

</div>

Using the test Github file provided by FlightAware for v3, I can’t get the Jquery version to run ([GitHub - flightaware/flightxml3\_examples: Example programs for FlightXML3](https://github.com/flightaware/flightxml3_examples)). I replaced 2 items: added my api username&key and the GoogleMaps api key

The alert msg is  
Failed to decode route: [object Object]

The error msg is  
jquery.min.js:4 [Deprecation] Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are blocked. See [Drop support for embedded credentials in subresource requests. - Chrome Platform Status](https://www.chromestatus.com/feature/5669008342777856) for more details.

[UPDATE: One of the problems, I think, is a malformed URL in Github. Maybe it hasn’t been updated in awhile. Does anyone have a working example to share please?]

Any ideas on how to fix this?  
Thanks,  
Felicia

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [February 11, 2018, 3:12am UTC](https://discussions.flightaware.com/t/flightxml-v3-github-test-wont-run/31393/2 "2018-02-11T03:12:41Z")

</div>

We do not recommend usage of FlightXML through Javascript in a browser, due to the authentication and deprecation issues that this style of development currently faces.

---

<div class="post-metadata">

**Author:** ![felicia214](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/felicia214/32/8620_2.png) [@felicia214](https://discussions.flightaware.com/u/felicia214)\
**Post date:** [February 11, 2018, 7:04am UTC](https://discussions.flightaware.com/t/flightxml-v3-github-test-wont-run/31393/3 "2018-02-11T07:04:57Z")

</div>

I understand, but it’s what I have right now. I can’t log in with my username and password using AJAX. How do I log in ? Thanks.

GET [https://username:password@flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=SWA2243&howMany=3&include\_ex\_data=false](https://username:password@flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=SWA2243&howMany=3&include_ex_data=false)

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [February 12, 2018, 10:47pm UTC](https://discussions.flightaware.com/t/flightxml-v3-github-test-wont-run/31393/4 "2018-02-12T22:47:19Z")

</div>

You should assume this is not currently possible and not attempt to use Browser-based Javascript for development of new applications at this time. We are encouraging users to develop backend server-based applications instead.
