I used this code until recently
urlx <- "https://bank.gov.ua/NBUStatService/v1/statdirectory/key?start=20201117&end=20220223"
temp <- getURL(urlx, ssl.verifyPeer=FALSE)
xmltbl <- xmlTreeParse(temp, useInternal = TRUE)
xmltbl <- xmlToDataFrame(xmltbl)
Now, I have an error message on getURL
function Error in function (type, msg, asError = TRUE) : error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
What is the best substitute in this situation?