如下:
const dataObject = JSON.stringify({
                                        "base64str": data.data,
                                        "reportId": reportId,
                                        "userId": userId
                                        });
$.post({
                          url: 'http://192.168.81.157:5000/api/imageApp/v0/CaptureImage',
                          contentType: 'application/json',
                          data:dataObject,
                          success:function(json){
                            console.log(json)
                          },
                          error:function(){
                              console.log("出错了")
                          }
                        });

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案