NGINX · Example Payload

Njs Response Example

API GatewayCachingCloud NativeLoad BalancerOpen SourceReverse ProxyWeb Server

Njs Response Example is an example object payload from NGINX, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

okredirectedstatusstatusTextheadersbodyUsedtypeurl

Example Payload

Raw ↑
{
  "ok": true,
  "redirected": false,
  "status": 200,
  "statusText": "OK",
  "headers": {
    "Content-Type": "application/json",
    "X-Request-ID": "resp-xyz-67890"
  },
  "bodyUsed": false,
  "type": "basic",
  "url": "http://upstream.example.com/api/v1/data"
}