Hi,
i’ve a problem with the openhab 3 http binding.
It’s configured as shown:
UID: http:url:16ff4230b2
label: HTTP URL Thing
thingTypeUID: http:url
configuration:
authMode: BASIC
ignoreSSLErrors: false
headers:
- token={781:null}
baseURL: http://192.168.2.97/getjp
password: test
refresh: 10
commandMethod: POST
contentType: application/json
timeout: 3000
bufferSize: 2048
username: test
channels:
- id: stest
channelTypeUID: http:string
label: stest
description: ""
configuration:
commandTransformation: JSONPATH:$.780
But instead of POST a get is send. Capturet with wireshark:
GET /getjp HTTP/1.1
Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
token: token={781:null}
Host: 192.168.2.97
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 0
Date: Sun, 23 May 2021 07:40:52 GMT
Server: Solar-Log
Any Ideas?