Ruby scripts need updating to use API key in HTTP headers not query strings
@kate query strings like the ones constructed here:
-
api_qs = "api_key=#{key}&api_username=#{username}&from=#{fromarg}&to=#{toarg}"
— here -
api_qs = "api_key=#{key}&api_username=#{username}"
— here -
api_qs = "api_key=#{key}&api_username=#{username}&from=#{fromarg}&to=#{toarg}"
— here
Need to be updated because of this Discourse policy:
Soon we will drop support for all non-HTTP header based authentication.
HTTP headers need to be used rather than URL query strings.