【问题标题】:amadeus api - this return 404 - any idea why?amadeus api - 这个返回 404 - 知道为什么吗?
【发布时间】:2022-06-10 23:00:48
【问题描述】:

curl -X GET "https://test.api.amadeus.com/v1/shopping/flight-dates?origin=LON&destination=NYC&departureDate=2022-10-01&oneWay=true&nonStop=false&viewBy=DATE" -H "接受: application/vnd.amadeus+json" -H "Authorization: Bearer XXXXXXXXXXXXXXXXXXX"

【问题讨论】:

    标签: amadeus


    【解决方案1】:

    正在内部分析中。该服务将很快在测试环境中返回。

    https://github.com/amadeus4dev/amadeus-code-examples/blob/master/flight_cheapest_date_search/v1/get/curl/flight_cheapest_date_search.sh

    curl -X GET "https://test.api.amadeus.com/v1/shopping/flight-dates?origin=MAD&destination=MUC" -H "Authorization: Bearer $ACCESS_TOKEN" -k
    {"errors":[{"status":404,"code":6003,"title":"ITEM/DATA NOT FOUND OR DATA NOT EXISTING","detail":"No price result found"},{"status":404,"code":6003,"title":"ITEM/DATA NOT FOUND OR DATA NOT EXISTING","detail":"No price results found for input combined criteria"}]}
    

    【讨论】:

      猜你喜欢
      • 2013-03-14
      • 1970-01-01
      • 2022-06-28
      • 1970-01-01
      • 2021-08-09
      • 1970-01-01
      • 2023-03-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多