Home > database >  I have to ask questions ~ questions about pbPOST form
I have to ask questions ~ questions about pbPOST form

Time:09-17

The HTTP request method: POST/FORM
http://file.api.weixin.qq.com/cgi-bin/media/upload? Access_token=access_token & amp; Type=type
Invoke the sample (using the curl command, a multimedia file upload FORM FORM way) :
Curl - F media=@ test. JPG "http://file.api.weixin.qq.com/cgi-bin/media/upload? Access_token=access_token & amp; Type=type ", "
Above this request PB can do it, I now use Msxml2. ServerXMLHTTP. 3.0 control can send "GET", "POST" request, but sent "POST/FORM" request will be submitted to the error calling external object function error, seek guidance ~

CodePudding user response:

The
refer to the original poster lizeyu0916 response:
HTTP request method: POST/FORM
http://file.api.weixin.qq.com/cgi-bin/media/upload? Access_token=access_token & amp; Type=type
Invoke the sample (using the curl command, a multimedia file upload FORM FORM way) :
Curl - F media=@ test. JPG "http://file.api.weixin.qq.com/cgi-bin/media/upload? Access_token=access_token & amp; Type=type ", "
Above this request PB can do it, I now use Msxml2. ServerXMLHTTP. 3.0 control can send "GET", "POST" request, but sent "POST/FORM" request will be submitted to the error calling external object function error, seek guidance ~


Used the post/form, to help you Up
  • Related