Sends HTTP requests to the Lokalise APIv2
@type method() :: :get | :post | :put | :patch | :delete | :head | :options
@spec do_request(method(), module(), Keyword.t()) :: {:ok, struct() | map()} | {:error, atom() | String.t() | {map(), non_neg_integer()}}