Skip to content

Insomnia

Compatible with: picoScan100

Insomnia is a desktop REST client. Import the sensor's OpenAPI file to prepare every endpoint without manually building requests, then test the API interactively before writing client code.

The SICK challenge-response plugin calculates the authentication hash for POST requests and avoids the Access Denied response. Download the plugin, then in Insomnia open Application → Preferences → Plugins, install it, and reload plugins.

Set the environment to your sensor address and credentials:

{
  "address": "192.168.0.1",
  "base_url": "http://{{ _.address }}/api",
  "user": "Service",
  "password": "<password>",
  "enableAuthentification": true
}

Replace the example address, user, and password with the values for your sensor.