Rules with sendHttpPutRequest and AuthToken

Another try in Rules DSL failed:

val headers = newHashMap("Authorization" -> "Bearer <MyAuthToken>", "WWW-Authenticate" -> "Basic")
sendHttpPutRequest("http://localhost:8080/rest/things/knx%3Aip%3Arouter/enable", "application/json", 'false', headers, 10000)

In this case, I receive:

2022-03-18 15:28:37.016 [WARN ] [s.impl.WebApplicationExceptionMapper] - javax.ws.rs.ClientErrorException: HTTP 415 Unsupported Media Type

This approach was based on: