Echo Service

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
 
curl --request GET \
  --url https://shared-services.kong-sales-engineering.com/echo/cache \
  --header 'Content-Type: application/json'
Cached response

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}
 
curl --request GET \
  --url https://shared-services.kong-sales-engineering.com/echo/cache/ \
  --header 'Content-Type: application/json'
200
Cache control set

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}
 
curl --request GET \
  --url https://shared-services.kong-sales-engineering.com/echo/etag/ \
  --header 'Content-Type: application/json'
Normal response

Returns a set of response headers from the query string.

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

Query Parameters

freeform

Response

200

Response headers

get/response-headers
 
curl --request GET \
  --url https://shared-services.kong-sales-engineering.com/echo/response-headers \
  --header 'Content-Type: application/json'
200
Response headers

Returns a set of response headers from the query string.

post
https://shared-services.kong-sales-engineering.com/echo/response-headers

Query Parameters

freeform

Response

200

Response headers

post/response-headers
 
curl --request POST \
  --url https://shared-services.kong-sales-engineering.com/echo/response-headers \
  --header 'Content-Type: application/json'
200
Response headers