Giter Club home page Giter Club logo

flightapp's Issues

Help with page 2 on developer.amadeus blog

Hi and thankyou for this guide, exactly what I was looking for, setting up Amadeus with laravel.
I have got to step 2 on page 1 of t=your guide, but I am stuck on this step.
Where it says "Next, make the request with the required headers and parameters." and to write down the access token, i am having trouble calling this function and getting the access token. I haven't used invokable controllers before and not much experience with api calls.
I am simply trying to call on my local machine:-
http://127.0.0.1:8000/init/
and I get an error back saying
AccessTokenController is not invokable.
Perhaps I should have created the controller with the option:- --invocable eg
"php artisan make:controller AccessTokenController --invokable"
Basically,

Error submitting flight booking page.

Hi, Again, thanks for a great article.
I have followed part 1 and 2. Everything worked fine, except, at the very last step I got this error once submitting the flight booking page.
"Client error: POST https://test.api.amadeus.com/v1/booking/flight-orders resulted in a 400 Bad Request response: {"errors":[{"status":400,"code":32171,"title":"MANDATORY DATA MISSING","detail":"validatingAirlineCodes needed","source" (truncated...)

It seems to require a Airline code? I can't see why I am getting this error.
Regards,
Steve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.