PingAuthorize Server is now configured to accept HTTP requests beginning with the
path /meme-games/api/v1/games
and forward them to the Meme Game API. Before
proceeding, we will confirm that this configuration is working by making a request to the
Meme Game API through the PingAuthorize Server.
These tutorials use curl to make HTTP requests.
The Meme Game API provides an API to create a new game, which looks like
this:
POST /api/v1/games
{
"data": {
"type": "game",
"attributes": {
"invitees": ["friend@example.com"]
}
}
}
We configured a Gateway API Endpoint to forward any requests to
/meme-game/api/v1/games
to the Meme Game API endpoint.