add self
This commit is contained in:
@@ -21,7 +21,7 @@ local function get_access_token()
|
|||||||
|
|
||||||
ngx.log(ngx.INFO, "START REQUEST TO GET ACCESS TOKEN -> ", pl.write(sudoerToken))
|
ngx.log(ngx.INFO, "START REQUEST TO GET ACCESS TOKEN -> ", pl.write(sudoerToken))
|
||||||
|
|
||||||
local no_exception, resp, resp_err = pcall(httpc.request_uri, remote_url,
|
local no_exception, resp, resp_err = pcall(httpc.request_uri, httpc, remote_url,
|
||||||
{
|
{
|
||||||
ssl_verify = false, -- 设置参数 ssl_verify 为false 不校验ssl证书
|
ssl_verify = false, -- 设置参数 ssl_verify 为false 不校验ssl证书
|
||||||
method = "GET",
|
method = "GET",
|
||||||
|
|||||||
Reference in New Issue
Block a user