POST
/
temperature_range
/
many
Create multiple temperature_ranges
curl --request POST \
  --url http://localhost:8080/temperature_range/many \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "temperature_ranges": [
    {
      "min_temp": 123,
      "max_temp": 123
    }
  ]
}'
[
  {
    "min_temp": 123,
    "max_temp": 123
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Body

application/json

Response

Successfully created temperature_ranges

The response is of type object[].