Skip to content

Commit

Permalink
formData attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Leopold committed Jan 19, 2021
1 parent 1be8403 commit fc030bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/FlightForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class FlightForm extends Component {
client_secret: `${process.env.REACT_APP_AMADEUS_SECRET}`
});

// let random = `grant_type=client_credentials&client_id=${process.env.REACT_APP_AMADEUS_KEY}&client_secret=${process.env.REACT_APP_AMADEUS_SECRET}`
// console.log(random)

axios({
method: 'POST',
url: 'https://test.api.amadeus.com/v1/security/oauth2/token/',
Expand Down

0 comments on commit fc030bd

Please sign in to comment.