Great Circle Mapper

फ्रीमियम
द्वारा Marcus Göde | अपडेट किया गया 5日前 | Travel
लोकप्रियता

9.1 / 10

लेटेंसी

1,004ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

aircraft/read api broken

Rapid account: Imgurer
imgurer
9年前

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

Rapid account: Marcusgoede
marcusgoede Commented 9年前

Hi imgurer,

thank you for reporting this bug. I already fixed it this morning!

Thanky and best regards

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें