Tyk v2.2 Documentation Components

  1. Home
  2. Tyk v2.2 Documentation Components
  3. Test a new API (On-Prem)

Test a new API (On-Prem)

To access the proxied API via the gateway:

curl -H "Authorization: null" https://your-tyk-host:port/test-api/get

Output:
-------
{
    "error": "Key not authorised"
}

If you see the above output, then the API is loaded and is being protected by Tyk. You can now generate a token and try the same command in place of null to see if the request proxies.