开发者

API call - sp_OAMethod - A certificate is required to complete client authentication - msxml3.dll

开发者 https://www.devze.com 2022-12-07 19:03 出处:网络
DECLARE @obj INT DECLARE @sUrl NVARCHAR(200) = \'https:xxxxxxx.com/xxxx\' EXEC sp_OACreate \'MSXML2.ServerXMLHttp\', @obj OUT
DECLARE @obj INT
DECLARE @sUrl NVARCHAR(200) = 'https:xxxxxxx.com/xxxx'

EXEC sp_OACreate 'MSXML2.ServerXMLHttp', @obj OUT
EXEC sp_OAMethod @obj, 'Open', NULL, 'POST', @sUrl, false
EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'Content-Type', 'application/x-www-form-urlencoded'

EXEC sp_OAMethod @obj, 'send'


EXEC sp_OAGetProperty @obj, 'responseText'

EXEC sp_OAMethod @obj, 'send' statement in the above code returning the below error. Help us fix this, please.

Error Source Description HelpFile HelpID
0x80072F0C msxml3.dll A certificate开发者_如何学Python is required to complete client authentication NULL 0
0

精彩评论

暂无评论...
验证码 换一张
取 消