HTTP Request调用第三方接口

第三方调用调试.xaml (9.2 KB)


帮看一下,我现在收到返回的验证码信息是错误的。

Hey @Ggy1992113

it is showing like below:-

image

No Questions available error from your api request.

Regards…!!
Aksh

你帮我看一下,我的接口设置,和序列有没有问题。

我之前测试总是收不到返回的消息。

你好,能帮我解答一下问题吗

hello,I have met the same issue with you!It is last Friday,I need to call Chaojiying’s Verification Code Interface by the busniess,but I had received None by the HTTP Request Activity for several times.In my opinion,it must be internal bug by this activity.So I had to write HTTP Request by myself.The following is my code,hope to give a help to you!
image
image
And the code is:
request=CType(WebRequest.Create(“http://upload.chaojiying.net/Upload/Processing.php”), HttpWebRequest)
request.Method=“post”
request.KeepAlive=True
buf=System.Text.Encoding.UTF8.GetBytes("{"“user”":"“vianas”","“pass”":"""+passwd+""","“softid”":903763,"“codetype”":6004,"“file_base64"”:"""+img.Base64+"""}")
request.ContentLength=buf.Length
request.GetRequestStream().Write(buf, 0, buf.Length)
response=CType(request.GetResponse(), HttpWebResponse)
reader=new StreamReader(response.GetResponseStream(), Encoding.UTF8)
resultStr=reader.ReadToEnd()