see here: [OH3] HowTo perform sendHttpGetRequest and sendHttpPutRequest in order to read/write through REST API