Great Circle Mapper

免费增值
通过 Marcus Göde | 已更新 5 days ago | Travel
人气

9.1 / 10

延迟

1,004ms

服务等级

100%

Health Check

N/A

返回所有讨论

aircraft/read api broken

Rapid account: Imgurer
imgurer
9 years ago

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 years ago

Hi imgurer,

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

Thanky and best regards

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论