Request and Response Structure
Let's look at the generic request and response structure for the endpoints.
We'll cover the following...
Request structure
The request of an API-Football endpoint contains a header and an endpoint.
Header structure
The header contains two elements:
x-rapidapi-host
is eitherv3.football.api-sports.io
orapi-football-v1.p.rapidapi.com
, depending on the platform you have signed up with. In our case, it will bev3.football.api-sports.io
since we signed up