Mini Program uploadfile doesn't seem to work.

uploadfile success fail complete did not execute any of them

1. Has the developer of Wechat platform filled in url https://www.xxx.com but the request address is https://www.xxx.com/xxx/a/b/c?
2. Does Wechat"s developer tool turn off tls to verify this relationship?

clipboard.png

Php
Mar.07,2021

var header = { 'content-type': 'application/x-www-form-urlencoded' } 
wx.uploadFile({
    url: app.globalData.APIURL+'/xcxupimg.php', //
    filePath:tempFilePaths[0],
    name:'Photo',
    header: header, //  header
    formData: {
     // PHPSESSID:app.globalData.PHPSESSID,
    }, // HTTP  form data

I have no problem with this. See if it's the header header
in addition, the request address cannot have parameters
A request address like http://www.123.cn/index.php?M. will only find the index.php, not the module controller

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e40564-43c00.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e40564-43c00.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?