Hi
When I make a call to the aircraft/read API, it returns an invalid JSON object.
There’s an extraneous ‘String’ coming back in the response body.
curl --get --include “https://greatcirclemapper.p.mashape.com/aircraft/read/A388”
-H “X-Mashape-Key: TkxJHG4hG7mshf4B9nnCMSOOwKPOp1RNJiLjsn197WW1LfSLlB”
-H “Accept: application/json”
Response:
<code>
string(4) “A388”
{“name”:“A380”,“manufacturer”:“Airbus”,“type”:“Airliner”,“iata_code”:“380”,“icao_code”:“A388”,“passengers”:“525”,“speed_kmh”:“945.00”,“speed_kts”:“510.00”,“ceiling_m”:“13106.00”,“ceiling_ft”:“43000.00”,“range_km”:“15199.00”,“range_nm”:“8207.00”,“mtow_kg”:“569000.00”,“mtow_lbs”:“1254429.00”,“alias”:“380-a380”}
</code>
Let me know if you need more details.
Thanks
Join in the discussion - add comment below:
Hi imgurer,
thank you for reporting this bug. I already fixed it this morning!
Thanky and best regards