Skip to content

xianqiliu/http-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3 Different ways to make HTTP Requests in PHP

This repo uses some Amadeus Self-Service APIs as examples to show how to make HTTP Requests in PHP.

The APIs used in this repo are:

The ways to make HTTP Requests used in this repo are:

Before start

  1. Use composer to install all the dependencies.
composer install
  1. Edit .env file and Replace the API_ID AND API_SECRET by your Amadeus API ID and Secret. You can register your own account on https://developers.amadeus.com/
API_ID = REPLACE_BY_YOUR_ID
API_SECRET = REPLACE_BY_YOUR_SECRET

Pay attention to see and try different outputs, have fun :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published