Echo Service

Return the incoming requests's User-Agent header.

get
https://shared-services.kong-sales-engineering.com/echo/user-agent

Response

200

The request’s User-Agent header.

get/user-agent
 
200

Response inspection

Inspect the response data like caching and headers

Returns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise.

get
https://shared-services.kong-sales-engineering.com/echo/cache

Headers

If-Modified-Since
If-None-Match

Response

Cached response

get/cache
 

Sets a Cache-Control header for n seconds.

get
https://shared-services.kong-sales-engineering.com/echo/cache/{value}

Path Parameters

valueintegerrequired

Response

200

Cache control set

get/cache/{value}
 
200

Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.

get
https://shared-services.kong-sales-engineering.com/echo/etag/{etag}

Path Parameters

etagstringrequired

Headers

If-None-Match
If-Match

Response

Normal response

get/etag/{etag}