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

.
Menu