Http Binding POST Problem

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?

Just a blind guess: does that also happen in case the URL does not contain the letters get in getjp ?

Ther release version 3.0 does not support other methods than GET for requesting states (only for sending commands). This has been introduced later and will be available in 3.1.

I also doubt that JSONPATH is a suitable commandTransformation. Maybe describe what you want to achieve.