Skip to main content

NetworkWidget

The Stac NetworkWidget allows you to build a widget that makes a network request and renders a widget based on the response using JSON.

Properties

PropertyTypeDescription
requestStacNetworkRequestThe network request configuration.

Example JSON

{
  "type": "networkWidget",
  "request": {
    "url": "https://api.example.com/data",
    "method": "get",
    "headers": {
      "Authorization": "Bearer token"
    }
  }
}
I