1. (Optional.) Configure an API External Server for the Meme Game API. An API External Server controls how PingAuthorize Server handles connections to an HTTPS API server, including configuration related to TLS. In this case, we simply need to provide a base URL.
    Note: This step is optional because if you completed Tutorial: Configuring fine-grained action access control for an API, then you already set up this API External Server.
    1. Sign on to the Administrative Console using the URL and credentials from Accessing the GUIs.
    2. Click External Servers.
    3. Click New External Server and choose API External Server.
    4. For Name, specify Meme Game API.
    5. For Base URL, specify https://meme-game.com.
      The following image shows this configuration.
      Screen capture of New API External Server screen
    6. Click Save.
  2. Configure a Gateway API Endpoint. A Gateway API Endpoint controls how PingAuthorize Server proxies incoming HTTP client requests to an upstream API server.
    1. In the Administrative Console, click Configuration and then Gateway API Endpoints.
    2. Click New Gateway API Endpoint.
    3. For Name, specify Meme Game - Shared Answers.
    4. For Inbound Base Path, specify /meme-game/api/v1/users/{user}/answers.

      The inbound base path defines the base request path for requests to be received by PingAuthorize Server.

      By surrounding a value in curly braces, you can add a parameter to a gateway API endpoint's inbound-base-path, and use it to fill in a parameter of the same name in the outbound path, as well as to inform other elements of the policy request, such as the service.

    5. For Outbound Base Path, specify /api/v1/users/{user}/answers.

      The outbound base path defines the base request path for requests that PingAuthorize Server forwards to an API server.

    6. For API Server, specify Meme Game API. This is the API External Server you defined in another tutorial, in Configuring a reverse proxy for the Meme Game API.
      Your screen should look like the following one.
      Screen capture of Gateway API Endpoint
    7. Save your changes.