From c00a11bfa740ac1d00767548740b97c77e2f0ad4 Mon Sep 17 00:00:00 2001 From: Clemens Zagler Date: Fri, 22 Nov 2024 13:34:25 +0100 Subject: [PATCH] roadweather fix calls.http wrong request format --- data-collectors/roadweather-a22/calls.http | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data-collectors/roadweather-a22/calls.http b/data-collectors/roadweather-a22/calls.http index 294efd44..6a4f6630 100644 --- a/data-collectors/roadweather-a22/calls.http +++ b/data-collectors/roadweather-a22/calls.http @@ -2,7 +2,6 @@ ### Authorize # @name login -@token = {{login.response.body.SubscribeResult.sessionId}} POST {{host}}/token Content-Type: application/json User-Agent: NOI/A22RoadWeatherConnector @@ -14,6 +13,8 @@ Accept: */* "password": "{{$dotenv A22_PASSWORD}}" } } +### +@token = {{login.response.body.SubscribeResult.sessionId}} ### Get active events POST {{host}}/meteo/anagrafica @@ -22,9 +23,7 @@ User-Agent: NOI/A22RoadWeatherConnector Accept: */* { - "request": { - "sessionId": "{{token}}" - } + "sessionId": "{{token}}" } ### Get historical events