Home > database >  For help
For help

Time:11-21

 create links/* */
The EXEC @ status=SP_OAMethod @ object, 'open', NULL, 'POST' @ URL, false
IF @ status & lt;> 0
The BEGIN
The EXEC SP_OAGetErrorInfo @ object, @ errSrc OUT, @ returnText OUT
RETURN
END
Print 22
The EXEC @ status=SP_OAMethod @ object, 'setRequestHeader', 'the content-type', 'text/XML. Charset=utf-8 '
Print @ data
/* the initiating */
The EXEC @ status=SP_OAMethod @ object, 'send (" {" sn ":" "} ")'

When I was in json of using HTTP request, perform to EXEC @ status=SP_OAMethod @ object, 'send (" {" sn ":" "} ")' tip traversal string: only allowed to use in the argument list '"' delimiter, don't know how to solve, baidu no corresponding problems; And I did not use the EXEC @ status=SP_OAMethod @ object, 'send' NULL '{" sn ":" "}' to send a request like this, because the Windows server 2012 R2 using SP_OAMethod will quote "parameter error", refer to https://blog.csdn.net/karas_27/article/details/83858019, I don't know what to do now
  • Related